1 | <?php |
||
9 | class ProcessorInterfaceAdapter implements ProcessorInterface |
||
10 | { |
||
11 | use EventDispatcherAware; |
||
12 | |||
13 | private |
||
14 | $workerContext; |
||
1 ignored issue
–
show
|
|||
15 | |||
16 | 1 | public function __construct(WorkerContext $workerContext) |
|
21 | |||
22 | 1 | public function process(\Swarrot\Broker\Message $message, array $options) |
|
45 | |||
46 | 1 | private function onWorkerProcess() |
|
50 | |||
51 | 1 | private function onWorkerProcessed() |
|
55 | } |
||
56 |
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.