* @since 2.0 */ class ResponseEvent extends Event { /** * @var Response the response object associated with this event. */ 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 = []) { $this->response = $response; parent::__construct($config); } }