response = $response; $this->valid = $valid; } /** * Get the response which was received from the server. * * @return string */ public function getResponse() { return $this->response; } /** * Get the success status of this Event. * * @return bool */ public function isValid() { return $this->valid; } }