| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | abstract class AbstractConfigGacela |
||
| 8 | { |
||
| 9 | private array $globalServices; |
||
| 10 | |||
| 11 | 4 | public function __construct(array $globalServices = []) |
|
| 14 | 4 | } |
|
| 15 | |||
| 16 | /** |
||
| 17 | * @return mixed |
||
| 18 | */ |
||
| 19 | 1 | protected function getGlobalService(string $key) |
|
| 20 | { |
||
| 21 | 1 | return $this->globalServices[$key] ?? null; |
|
| 22 | } |
||
| 23 | |||
| 24 | 1 | public function config(): array |
|
| 25 | { |
||
| 26 | 1 | return []; |
|
| 27 | } |
||
| 28 | |||
| 29 | 3 | public function mappingInterfaces(): array |
|
| 32 | } |
||
| 33 | } |
||
| 34 |