private function  sendContentString($content = '', Request $request)
    {
        $response = $request->getResponse();
        $response->setContent($content);
        $response->send();
    }
private function  sendContentString($content = '', Request $request)
    {
        $response = $request->getResponse();
        $response->setContent($content);
        $response->send();
    }
private function sendContentString ( $ content = '' , Request $ request ) { $ response = $ request -> getResponse ( ) ; $ response -> setContent ( $ content ) ; $ response -> send ( ) ; }
send the content

@param string $content
@param Request $request
send the content