| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 90% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 10 | final class SimpleRuleHandlerContainer implements RuleHandlerResolverInterface |
||
| 11 | { |
||
| 12 | 600 | public function __construct( |
|
| 13 | /** |
||
| 14 | * @var array<string, RuleHandlerInterface> |
||
| 15 | */ |
||
| 16 | private array $instances = [], |
||
| 17 | ) { |
||
| 18 | } |
||
| 19 | |||
| 20 | 61 | public function resolve(string $className): RuleHandlerInterface |
|
| 34 | } |
||
| 35 | } |
||
| 36 |