Adding module depencies

This commit is contained in:
Bizarrus committed 2023-11-04 06:34:49 +01:00
1 parent d4fc79b6a1
commit 9101299dda
9 files changed
+73 -7

No files matched your search

+9
View File
@@ -10,6 +10,7 @@
private $description = null;
private $author = null;
private $repository = null;
private $depencies = null;
private $is_valid = false;
public function __construct(string $path) {
@@ -70,6 +71,10 @@
$this->repository = $data->repository;
}
if(!empty($data->depencies)) {
$this->depencies = $data->depencies;
}
$this->is_valid = true;
}
@@ -114,5 +119,9 @@
public function getRepository() : string {
return $this->repository;
}
public function getDepencies() : object {
return $this->depencies;
}
}
?>