/** * Create independent response. * * @static * @author Krzysztof Trzos * @access public * @param View $oContent * @return string * @since 1.0.0-alpha * @version 1.0.0-alpha */ public static function independentResponse(View $oContent) { $sContent = $oContent->render(); $oResponse = new Response(); $oResponse->setContent($sContent); return $oResponse; }