| Total Complexity | 4 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| 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)  | 
            |
| 18 |     { | 
            ||
| 19 | 2 | $this->definition = $definition;  | 
            |
| 20 | 2 | }  | 
            |
| 21 | |||
| 22 | 2 | public function addExtension(\Closure $closure): void  | 
            |
| 23 |     { | 
            ||
| 24 | 2 | $this->extensions[] = $closure;  | 
            |
| 25 | 2 | }  | 
            |
| 26 | |||
| 27 | 2 | public function resolve(DependencyResolverInterface $container)  | 
            |
| 36 | }  | 
            ||
| 37 | }  | 
            ||
| 38 |