protected function getDefaultResponseContent(Exception $ex, int $statusCode) : string
    {
        if ($this->inDevelopmentEnvironment) {
            $content = $this->getDevelopmentEnvironmentContent($ex, $statusCode);
        } else {
            $content = $this->getProductionEnvironmentContent($ex, $statusCode);
        }

        return $content;
    }
protected function getDefaultResponseContent(Exception $ex, int $statusCode) : string
    {
        if ($this->inDevelopmentEnvironment) {
            $content = $this->getDevelopmentEnvironmentContent($ex, $statusCode);
        } else {
            $content = $this->getProductionEnvironmentContent($ex, $statusCode);
        }

        return $content;
    }
protected function getDefaultResponseContent ( Exception $ ex , int $ statusCode ) : string { if ( $ this -> inDevelopmentEnvironment ) { $ content = $ this -> getDevelopmentEnvironmentContent ( $ ex , $ statusCode ) ; } else { $ content = $ this -> getProductionEnvironmentContent ( $ ex , $ statusCode ) ; } return $ content ; }
Gets the default response content

@param Exception $ex The exception
@param int $statusCode The HTTP status code
@return string The content of the response
Gets the default response content