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