Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class LazyModule implements LazyModuleInterface |
||
14 | { |
||
15 | /** @var AbstractAppMeta */ |
||
16 | private $appMeta; |
||
17 | |||
18 | /** @var string */ |
||
19 | private $context; |
||
20 | |||
21 | /** @var string */ |
||
22 | private $scriptDir; |
||
23 | |||
24 | /** @var bool */ |
||
25 | private $strict; |
||
26 | |||
27 | public function __construct(AbstractAppMeta $appMeta, string $context, string $scriptDir, bool $strict = false) |
||
28 | { |
||
29 | $this->appMeta = $appMeta; |
||
30 | $this->context = $context; |
||
31 | $this->scriptDir = $scriptDir; |
||
32 | $this->strict = $strict; |
||
33 | } |
||
34 | |||
35 | public function __invoke(): AbstractModule |
||
43 | } |
||
44 | } |
||
45 |