| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ContainerMapLocator implements HandlerLocator |
||
| 11 | { |
||
| 12 | private array $map = []; |
||
| 13 | |||
| 14 | 2 | public function __construct( |
|
| 17 | 2 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $commandName |
||
| 21 | */ |
||
| 22 | 2 | public function getHandlerForCommand($commandName): object |
|
| 28 | } |
||
| 29 | |||
| 30 | 1 | public function setHandlerForCommand(string $commandName, string $handler): self |
|
| 36 |