private function renderItem($item)
    {
        $this->response = $this->response->withBody(stream_for($this->getRenderedItem($item)));
    }
private function renderItem($item)
    {
        $this->response = $this->response->withBody(stream_for($this->getRenderedItem($item)));
    }
private function renderItem ( $ item ) { $ this -> response = $ this -> response -> withBody ( stream_for ( $ this -> getRenderedItem ( $ item ) ) ) ; }
Add the rendered item to psr7 response

@param $item
@throws common_Exception
Add the rendered item to psr7 response