1 | <?php |
||
15 | trait InjectableTrait |
||
16 | { |
||
17 | /** |
||
18 | * @var Container Store for di container. |
||
19 | */ |
||
20 | protected $di; |
||
21 | |||
22 | /** |
||
23 | * Sets the dependency injection container. |
||
24 | * |
||
25 | * @param Container $di Container object. |
||
26 | * |
||
27 | * @return $this |
||
28 | */ |
||
29 | public function setDi(Container $di) |
||
34 | |||
35 | /** |
||
36 | * Returns the dependency injection container. |
||
37 | * |
||
38 | * @return Container object. |
||
39 | */ |
||
40 | public function getDi() |
||
44 | } |