1 | <?php |
||
14 | abstract class Resolver implements ResolverInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var ContainerInterface |
||
18 | */ |
||
19 | private $container; |
||
20 | |||
21 | /** |
||
22 | * Resolver constructor. |
||
23 | * |
||
24 | * @param ContainerInterface $container |
||
25 | */ |
||
26 | 7 | public function __construct(ContainerInterface $container) |
|
30 | |||
31 | /** |
||
32 | * @return ContainerInterface |
||
33 | */ |
||
34 | 6 | protected function getContainer(): ContainerInterface |
|
38 | |||
39 | /** |
||
40 | * @param DefinitionInterface $definition |
||
41 | * @param string $expectedDefinitionClass |
||
42 | */ |
||
43 | 7 | protected function validate(DefinitionInterface $definition, string $expectedDefinitionClass): void |
|
51 | } |
||
52 |