public function prepareResponse($content, $status = null)
    {
        $response = new Response;

        $response->setContent($content);

        if (isset($status)) {
            $response->setStatusCode($status);
        }

        return $response->send();
    }
public function prepareResponse($content, $status = null)
    {
        $response = new Response;

        $response->setContent($content);

        if (isset($status)) {
            $response->setStatusCode($status);
        }

        return $response->send();
    }
public function prepareResponse ( $ content , $ status = null ) { $ response = new Response ; $ response -> setContent ( $ content ) ; if ( isset ( $ status ) ) { $ response -> setStatusCode ( $ status ) ; } return $ response -> send ( ) ; }
Prepares router response.

@param mixed $content

@return void
Prepares router response .