| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class BadgeManager |
||
| 9 | { |
||
| 10 | /** @var BadgeTypeStrategyInterface[] */ |
||
| 11 | private $strategies = []; |
||
| 12 | |||
| 13 | |||
| 14 | public function getStrategy(Badge $badge): BadgeTypeStrategyInterface |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param BadgeTypeStrategyInterface $strategy |
||
| 27 | */ |
||
| 28 | public function addStrategy(BadgeTypeStrategyInterface $strategy): void |
||
| 33 |