Scalr\Api\Rest\Application::getDefaultTemplate PHP Method

getDefaultTemplate() protected method

Parses default template and returns its content
protected getDefaultTemplate ( string $title, string $body ) : string
$title string A title
$body string A body
return string Returns parsed template
    protected function getDefaultTemplate($title, $body)
    {
        return sprintf('<html><head><title>%s</title></head><body><h1>%s</h1>%s</body></html>', $title, $title, $body);
    }