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 | 14 | protected function resolveByContainer($ref, ContainerInterface $container, $expectedClass) |
|
41 | |||
42 | /** |
||
43 | * @param string $expectedClass |
||
44 | * @param mixed $entry |
||
45 | * @param string $ref |
||
46 | * @return void |
||
47 | * @throws UnresolvedException |
||
48 | */ |
||
49 | 10 | private function assertInstanceOf($expectedClass, $entry, $ref) |
|
61 | } |
||
62 |