| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CoreProvider |
||
| 8 | { |
||
| 9 | /** @var CoreStrategyInterface[] */ |
||
| 10 | private array $strategies = []; |
||
| 11 | |||
| 12 | |||
| 13 | public function getStrategy(string $name): CoreStrategyInterface |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param CoreStrategyInterface $strategy |
||
| 26 | */ |
||
| 27 | public function addStrategy(CoreStrategyInterface $strategy): void |
||
| 32 |