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;
    }