1 | <?php |
||
27 | trait ContainerHelperTrait |
||
28 | { |
||
29 | use ResolverAwareTrait; |
||
30 | |||
31 | /** |
||
32 | * @var FactoryInterface |
||
33 | * @access protected |
||
34 | */ |
||
35 | protected $factory; |
||
36 | |||
37 | /** |
||
38 | * Inject the Factory |
||
39 | * |
||
40 | * @param FactoryInterface $factory |
||
41 | * @return $this |
||
42 | * @access protected |
||
43 | */ |
||
44 | protected function setFactory(FactoryInterface $factory) |
||
49 | |||
50 | /** |
||
51 | * Get the Factory |
||
52 | * |
||
53 | * @return FactoryInterface |
||
54 | * @access protected |
||
55 | */ |
||
56 | protected function getFactory()/*# : FactoryInterface */ |
||
60 | } |
||
61 |