public function onReflectError($event)
    {
        $filename = $event['file']->getPathname();
        $this->stopwatch->stop($filename);

        self::$logger->error(
            'Parse error in {time} on file "{file"}: {error}',
            array(
                'time'  => Timer::toTimeString($time),
                'file'  => $filename,
                'error' => $event['error']
            )
        );
    }
public function onReflectError($event)
    {
        $filename = $event['file']->getPathname();
        $this->stopwatch->stop($filename);

        self::$logger->error(
            'Parse error in {time} on file "{file"}: {error}',
            array(
                'time'  => Timer::toTimeString($time),
                'file'  => $filename,
                'error' => $event['error']
            )
        );
    }
public function onReflectError ( $ event ) { $ filename = $ event [ 'file' ] -> getPathname ( ) ; $ this -> stopwatch -> stop ( $ filename ) ; self :: $ logger -> error ( 'Parse error in {time} on file "{file"}: {error}' , array ( 'time' => Timer :: toTimeString ( $ time ) , 'file' => $ filename , 'error' => $ event [ 'error' ] ) ) ; }
PHP-Parser raised an error.

@param GenericEvent $event A 'reflect.error' event

@return void
PHP - Parser raised an error .