src/Mvc/View/DefaultView.php
public function render(Response &$response, Request $request, $parameters = array())
    {
        if ($response->getType() == 'text/html') {
            $html = sprintf("
<!DOCTYPE html>
<html>
<head>
<title>%s</title>
</head>

<body>
%s
</body>

</html>", $response->getTitle(), $response->getBody());
            
            $response->setBody($html);
        }
    }
public function render(Response &$response, Request $request, $parameters = array())
    {
        if ($response->getType() == 'text/html') {
            $html = sprintf("
<!DOCTYPE html>
<html>
<head>
<title>%s</title>
</head>

<body>
%s
</body>

</html>", $response->getTitle(), $response->getBody());
            
            $response->setBody($html);
        }
    }
public function render ( Response & $ response , Request $ request , $ parameters = array ( ) ) { if ( $ response -> getType ( ) == 'text/html' ) { $ html = sprintf ( "
<!DOCTYPE html>
<html>
<head>
<title>%s</title>
</head>

<body>
%s
</body>

</html>" , $ response -> getTitle ( ) , $ response -> getBody ( ) ) ; $ response -> setBody ( $ html ) ; } }
(non-PHPdoc)

@see \Nkey\Caribu\Mvc\View\AbstractView::render()
( non - PHPdoc )