23use Psr\Log\LoggerAwareInterface;
24use Psr\Log\LoggerInterface;
25use Psr\Log\NullLogger;
42 $this->logger =
new NullLogger();
50 final public function notify( $channel, $event ) {
51 return $this->
doNotify( $channel, [ $event ] );
60 return $this->
doNotify( $channel, $events );
72 abstract protected function doNotify( $channel, array $events );
76class_alias( EventRelayer::class,
'EventRelayer' );
array $params
The job parameters.