| Total Complexity | 5 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 5 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 9 | final class Gii implements GiiInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param array<string, GeneratorInterface> $generators |
||
| 13 | */ |
||
| 14 | public function __construct(private array $generators) |
||
| 19 | ); |
||
| 20 | 3 | } |
|
| 21 | |||
| 22 | 3 | public function addGenerator(GeneratorInterface $generator): void |
|
| 25 | 4 | } |
|
| 26 | |||
| 27 | 4 | public function getGenerator(string $id): GeneratorInterface |
|
| 34 | } |
||
| 35 | 3 | ||
| 36 | 1 | public function getGenerators(): array |
|
| 41 |