| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class ExtensibleService implements DefinitionInterface |
||
| 13 | { |
||
| 14 | private $definition; |
||
| 15 | private array $extensions; |
||
| 16 | |||
| 17 | 2 | public function __construct($definition) |
|
| 20 | 2 | } |
|
| 21 | |||
| 22 | 2 | public function addExtension(\Closure $closure): void |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | 2 | public function resolve(DependencyResolverInterface $resolver) |
|
| 38 |