1 | <?php |
||
33 | class System extends Configuration |
||
34 | { |
||
35 | /** |
||
36 | * @var Objects The backend container |
||
37 | */ |
||
38 | protected $backend; |
||
39 | /** |
||
40 | * @var Objects The frontend container |
||
41 | */ |
||
42 | protected $frontend; |
||
43 | |||
44 | /** |
||
45 | * Creates a new System. |
||
46 | * |
||
47 | * This constructor expects a `Traversable` full of class names in the |
||
48 | * `system.modules` configuration setting. Each class name *must* extend |
||
49 | * `Minotaur\Module` or an `UnexpectedValueException` will be thrown. |
||
50 | * |
||
51 | * @param array<string,mixed> $config The system configuration |
||
52 | * @throws \UnexpectedValueException if a module class doesn't extend `Minotaur\Module` |
||
53 | */ |
||
54 | public function __construct(array $config) |
||
60 | |||
61 | private function createBackendContainer(Properties $parent): Objects |
||
69 | |||
70 | private function createFrontendContainer(Objects $parent): Objects |
||
78 | |||
79 | /** |
||
80 | * Gets the container with backend classes. |
||
81 | * |
||
82 | * @return - The backend container |
||
|
|||
83 | */ |
||
84 | public function getBackendContainer(): Objects |
||
88 | |||
89 | /** |
||
90 | * Gets the container with frontend classes. |
||
91 | * |
||
92 | * @return - The frontend container |
||
93 | */ |
||
94 | public function getFrontendContainer(): Objects |
||
98 | } |
||
99 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.