1 | <?php |
||
8 | class Pimple implements WorkerProvider |
||
9 | { |
||
10 | private |
||
11 | $container; |
||
1 ignored issue
–
show
|
|||
12 | |||
13 | 3 | public function __construct(\Pimple\Container $container) |
|
17 | |||
18 | 1 | public function getWorker($workerName) |
|
30 | |||
31 | 1 | private function computeWorkerServiceKey($workerName) |
|
38 | |||
39 | 1 | public function listAll() |
|
45 | |||
46 | 1 | public function listWithRegexFilter($workerNamePattern) |
|
54 | |||
55 | 2 | private function listWorkers(array $extractedWorkers) |
|
75 | |||
76 | 2 | private function extractWorkers() |
|
83 | |||
84 | 2 | private function formatWorkerName($workerServiceName) |
|
88 | } |
||
89 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.