Zend\Stratigility\Http\ResponseInterface::end PHP Method

end() public method

A completed response should no longer allow manipulation of either headers or the content body. If $data is passed, that data should be written to the response body prior to marking the response as complete.
public end ( string $data = null )
$data string
    public function end($data = null);
ResponseInterface