9use Psr\Log\LoggerAwareInterface;
10use Psr\Log\LoggerInterface;
11use Psr\Log\NullLogger;
28 $this->logger =
new NullLogger();
36 final public function notify( $channel, $event ) {
37 return $this->
doNotify( $channel, [ $event ] );
46 return $this->
doNotify( $channel, $events );
58 abstract protected function doNotify( $channel, array $events );
62class_alias( EventRelayer::class,
'EventRelayer' );