Layton/App.php
public function sendBody(Response $response)
    {
        $body = $response->getBody();
        $body->rewind();
        echo $body->getContents();
        return $response;
    }
public function sendBody(Response $response)
    {
        $body = $response->getBody();
        $body->rewind();
        echo $body->getContents();
        return $response;
    }
public function sendBody ( Response $ response ) { $ body = $ response -> getBody ( ) ; $ body -> rewind ( ) ; echo $ body -> getContents ( ) ; return $ response ; }
Sends body for the current web response.

@return $this
Sends body for the current web response .