Total Complexity | 7 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class AppModule |
||
8 | { |
||
9 | public function __construct( |
||
10 | private readonly string $fullModuleName, |
||
11 | private readonly string $moduleName, |
||
12 | private readonly string $facadeClass, |
||
13 | private readonly ?string $factoryClass = null, |
||
14 | private readonly ?string $configClass = null, |
||
15 | private readonly ?string $providerClass = null, |
||
16 | ) { |
||
17 | } |
||
18 | |||
19 | public function fullModuleName(): string |
||
20 | { |
||
21 | return $this->fullModuleName; |
||
22 | } |
||
23 | |||
24 | public function moduleName(): string |
||
25 | { |
||
26 | return $this->moduleName; |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * @return class-string |
||
31 | */ |
||
32 | public function facadeClass(): string |
||
33 | { |
||
34 | return $this->facadeClass; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return ?class-string |
||
|
|||
39 | */ |
||
40 | public function factoryClass(): ?string |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return ?class-string |
||
47 | */ |
||
48 | public function configClass(): ?string |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * @return ?class-string |
||
55 | */ |
||
56 | public function providerClass(): ?string |
||
61 |