public function onReflectError(GenericEvent $event)
    {
        $context = $event->getArguments();
        $this->logger->error('Parser has detected an error on file "{file}". {error}', $context);
    }
public function onReflectError(GenericEvent $event)
    {
        $context = $event->getArguments();
        $this->logger->error('Parser has detected an error on file "{file}". {error}', $context);
    }
public function onReflectError ( GenericEvent $ event ) { $ context = $ event -> getArguments ( ) ; $ this -> logger -> error ( 'Parser has detected an error on file "{file}". {error}' , $ context ) ; }
Logs ERROR event.

@param Event $event Current event emitted by the manager (Reflect class)

@return void
Logs ERROR event .