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