Elcodi\Store\CoreBundle\Controller\ExceptionController::supports PHP Method

supports() protected method

Checks if we can process the current event
protected supports ( Request $request ) : boolean
$request Symfony\Component\HttpFoundation\Request
return boolean
    protected function supports(Request $request)
    {
        return $request->getRequestFormat() === 'html' && $this->fallbackCode;
    }