Available options:
* charset: The charset to use (utf-8 by default)
* content_type: The content type (text/html by default)
* send_http_headers: Whether to send HTTP headers or not (true by default)
* http_protocol: The HTTP protocol to use for the response (HTTP/1.0 by default)
public initialize ( sfEventDispatcher $dispatcher, array $options = [] ) : boolean | ||
$dispatcher | sfEventDispatcher | An sfEventDispatcher instance |
$options | array | An array of options |
return | boolean | true, if initialization completes successfully, otherwise false |