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