protected function getDevelopmentEnvironmentContent(Exception $ex, int $statusCode) : string
    {
        ob_start();

        if ($statusCode === 503) {
            require __DIR__ . "/templates/{$this->getRequestFormat()}/MaintenanceMode.php";
        } else {
            require __DIR__ . "/templates/{$this->getRequestFormat()}/DevelopmentException.php";
        }

        return ob_get_clean();
    }
protected function getDevelopmentEnvironmentContent(Exception $ex, int $statusCode) : string
    {
        ob_start();

        if ($statusCode === 503) {
            require __DIR__ . "/templates/{$this->getRequestFormat()}/MaintenanceMode.php";
        } else {
            require __DIR__ . "/templates/{$this->getRequestFormat()}/DevelopmentException.php";
        }

        return ob_get_clean();
    }
protected function getDevelopmentEnvironmentContent ( Exception $ ex , int $ statusCode ) : string { ob_start ( ) ; if ( $ statusCode === 503 ) { require __DIR__ . "/templates/{$this->getRequestFormat()}/MaintenanceMode.php" ; } else { require __DIR__ . "/templates/{$this->getRequestFormat()}/DevelopmentException.php" ; } return ob_get_clean ( ) ; }
Gets the page contents for the default production exception page

@param Exception $ex The exception
@param int $statusCode The HTTP status code
@return string The contents of the page
Gets the page contents for the default production exception page