| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class DependencyResolver implements DependencyResolverInterface |
||
| 16 | { |
||
| 17 | private ContainerInterface $container; |
||
| 18 | |||
| 19 | 88 | public function __construct(ContainerInterface $container) |
|
| 22 | 88 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @throws NotFoundExceptionInterface |
||
| 26 | * @throws ContainerExceptionInterface |
||
| 27 | * |
||
| 28 | * @return mixed|object |
||
| 29 | * |
||
| 30 | * @psalm-suppress InvalidThrow |
||
| 31 | */ |
||
| 32 | 54 | public function resolve(string $id) |
|
| 35 | } |
||
| 36 | |||
| 37 | 41 | public function resolveReference(string $id) |
|
| 42 |