* @since 2.0 */ class ResponseEvent extends Event { /** * @var Response the response object associated with this event. * You may modify the content in this response or replace it * with a new response object. The updated or new response will * be used as the final out. */ public $response; /** * Constructor. * @param Response $response the response object associated with this event. * @param array $config the configuration array for initializing the newly created object. */ public function __construct($response, $config = array()) { $this->response = $response; parent::__construct($config); } }