id = $id; $this->host = $host; $this->url = $url; $this->action = $action; $this->source = $source; $this->status = $status; $this->attempts = $attempts; } /** * Get the event ID. * * @return int */ public function get_id(): int { return $this->id; } /** * Get the host name. * * @return string */ public function get_host(): string { return $this->host; } /** * Get the canonical URL. * * @return string */ public function get_url(): string { return $this->url; } /** * Get the action type. * * @return string */ public function get_action(): string { return $this->action; } /** * Get the source identifier. * * @return string */ public function get_source(): string { return $this->source; } /** * Get the current status. * * @return string */ public function get_status(): string { return $this->status; } /** * Get the retry attempts. * * @return int */ public function get_attempts(): int { return $this->attempts; } }