| 1 | <?php |
||
| 8 | class Project |
||
| 9 | { |
||
| 10 | private $index; |
||
| 11 | private $rootFolder; |
||
| 12 | private $config; |
||
| 13 | private $plugins = []; |
||
| 14 | |||
| 15 | public function __construct(Index $index, $rootFolder = "") |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return Project |
||
| 24 | */ |
||
| 25 | public static function withConfig( |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Returns project's index |
||
| 45 | * @return Index |
||
| 46 | */ |
||
| 47 | public function getIndex() |
||
| 70 | } |
||
| 71 |