private function getHttpStatusCode($statusCode)
    {
        if ($statusCode >= 100 && $statusCode < 600) {
            return $statusCode;
        } elseif (
                FrontControllerException::BAD_REQUEST === $statusCode
                || FrontControllerException::INTERNAL_ERROR === $statusCode
                || FrontControllerException::NOT_FOUND === $statusCode
        ) {
            return $statusCode - FrontControllerException::UNKNOWN_ERROR;
        }

        return 500;
    }
private function getHttpStatusCode($statusCode)
    {
        if ($statusCode >= 100 && $statusCode < 600) {
            return $statusCode;
        } elseif (
                FrontControllerException::BAD_REQUEST === $statusCode
                || FrontControllerException::INTERNAL_ERROR === $statusCode
                || FrontControllerException::NOT_FOUND === $statusCode
        ) {
            return $statusCode - FrontControllerException::UNKNOWN_ERROR;
        }

        return 500;
    }
private function getHttpStatusCode ( $ statusCode ) { if ( $ statusCode >= 100 && $ statusCode < 600 ) { return $ statusCode ; } elseif ( FrontControllerException :: BAD_REQUEST === $ statusCode || FrontControllerException :: INTERNAL_ERROR === $ statusCode || FrontControllerException :: NOT_FOUND === $ statusCode ) { return $ statusCode - FrontControllerException :: UNKNOWN_ERROR ; } return 500 ; }
Returns a valid HTTP status code.

@param  int $statusCode

@return int
Returns a valid HTTP status code .