1 | <?php |
||
10 | abstract class AbstractContainerAwareFactory |
||
11 | { |
||
12 | const CONTAINER_AWARE_INTERFACE = 'Symfony\Component\DependencyInjection\ContainerAwareInterface'; |
||
13 | const CONTAINER_SERVICE_ID = 'service_container'; |
||
14 | |||
15 | private $reflectionFactory; |
||
16 | private $referenceFactory; |
||
17 | |||
18 | public function __construct(ReflectionFactory $reflectionFactory = null, ReferenceFactory $referenceFactory = null) |
||
23 | |||
24 | protected function injectContainer(Definition $definition) |
||
33 | |||
34 | abstract public function createDefinition($className); |
||
35 | } |
||
36 |