| 1 | <?php |
||
| 9 | trait ResolverTrait |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param string $ref |
||
| 14 | * @param ContainerInterface $container |
||
| 15 | * @param string $expectedClass |
||
| 16 | * @return mixed |
||
| 17 | * @throws UnresolvedException |
||
| 18 | */ |
||
| 19 | 11 | protected function resolveByContainer($ref, ContainerInterface $container, $expectedClass) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @param string $expectedClass |
||
| 36 | * @param mixed $entry |
||
| 37 | * @return void |
||
| 38 | * @throws UnresolvedException |
||
| 39 | */ |
||
| 40 | 7 | private function assertInstanceOf($expectedClass, $entry) |
|
| 48 | } |
||
| 49 |