| 1 | <?php |
||
| 20 | final class PimpleFactory extends AbstractFactory |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var Container |
||
| 24 | */ |
||
| 25 | private $container; |
||
| 26 | |||
| 27 | 2 | protected function createContainer() |
|
| 31 | |||
| 32 | 2 | protected function configure($container) |
|
| 41 | |||
| 42 | 2 | private function setFactories() |
|
| 59 | |||
| 60 | 2 | private function setInvokables() |
|
| 68 | } |
||
| 69 |
It seems like you are assigning to a variable which was imported through a
usestatement which was not imported by reference.For clarity, we suggest to use a different name or import by reference depending on whether you would like to have the change visibile in outer-scope.
Change not visible in outer-scope
Change visible in outer-scope