protected function renderTokenMismatchException(TokenMismatchException $e)
    {
        if (view()->exists($this->getViewPath('errors.token'))) {
            return response()->view($this->getViewPath('errors.token'), ['exception' => $e], '403');
        }

        return $this->convertExceptionToResponse($e);
    }
protected function renderTokenMismatchException(TokenMismatchException $e)
    {
        if (view()->exists($this->getViewPath('errors.token'))) {
            return response()->view($this->getViewPath('errors.token'), ['exception' => $e], '403');
        }

        return $this->convertExceptionToResponse($e);
    }
protected function renderTokenMismatchException ( TokenMismatchException $ e ) { if ( view ( ) -> exists ( $ this -> getViewPath ( 'errors.token' ) ) ) { return response ( ) -> view ( $ this -> getViewPath ( 'errors.token' ) , [ 'exception' => $ e ] , '403' ) ; } return $ this -> convertExceptionToResponse ( $ e ) ; }
Render the given TokenMismatchException.

@param  TokenMismatchException $e

@return \Symfony\Component\HttpFoundation\Response
Render the given TokenMismatchException .