Orno\Route\Dispatcher::handleNotFound PHP Метод

handleNotFound() защищенный Метод

Handle a not found route
protected handleNotFound ( ) : Orno\Http\ResponseInterface
Результат Orno\Http\ResponseInterface
    protected function handleNotFound()
    {
        $exception = new HttpException\NotFoundException();
        if ($this->getStrategy() === RouteStrategyInterface::RESTFUL_STRATEGY) {
            return $exception->getJsonResponse();
        }
        throw $exception;
    }