Bolt\EventListener\ExceptionListener::onBootException PHP Метод

onBootException() публичный Метод

Handle boot initialisation exceptions.
public onBootException ( GetResponseForExceptionEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent
    public function onBootException(GetResponseForExceptionEvent $event)
    {
        if ($this->isProfilerRequest($event->getRequest())) {
            return;
        }
        $exception = $event->getException();
        if ($exception instanceof BootException) {
            $event->setResponse($exception->getResponse());
            $event->stopPropagation();
        }
    }