1 | <?php |
||
14 | class Container implements ContainerInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $services; |
||
20 | |||
21 | /** |
||
22 | * @var array |
||
23 | */ |
||
24 | private $serviceStore; |
||
25 | |||
26 | /** |
||
27 | * @var ServiceRepositoryInterface |
||
28 | */ |
||
29 | private $repository; |
||
30 | |||
31 | /** |
||
32 | * @var ServiceFactoryInterface |
||
33 | */ |
||
34 | private $factory; |
||
|
|||
35 | |||
36 | /** |
||
37 | * Constructor for Container |
||
38 | * |
||
39 | * @param array $services |
||
40 | */ |
||
41 | 5 | public function __construct( |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 4 | public function get($name) |
|
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | 4 | public function has($name) |
|
75 | |||
76 | /** |
||
77 | * Create service instance |
||
78 | * |
||
79 | * @param string $name |
||
80 | * |
||
81 | * @return mixed created service |
||
82 | */ |
||
83 | 3 | private function createService($name) |
|
100 | } |
||
101 |
This check marks private properties in classes that are never used. Those properties can be removed.