public static function template($template, $parameter = array(), $status = 200, $headers = array())
    {
        View::setTemplate($template, $parameter);

        return new Response('', $status, $headers);
    }
public static function template($template, $parameter = array(), $status = 200, $headers = array())
    {
        View::setTemplate($template, $parameter);

        return new Response('', $status, $headers);
    }
public static function template ( $ template , $ parameter = array ( ) , $ status = 200 , $ headers = array ( ) ) { View :: setTemplate ( $ template , $ parameter ) ; return new Response ( '' , $ status , $ headers ) ; }
Generate response from template.

@param string $template
@param array  $parameter
@param int    $status
@param array  $headers

@return Response
Generate response from template .