*/ private array $cursor; private int $attempt; private string $token; private string $expires_at; /** * @param array $cursor Resumable checker cursor. */ public function __construct( int $task_id, int $run_id, string $task_uuid, string $check_id, array $cursor, int $attempt, string $token, string $expires_at ) { $this->task_id = $task_id; $this->run_id = $run_id; $this->task_uuid = $task_uuid; $this->check_id = $check_id; $this->cursor = $cursor; $this->attempt = $attempt; $this->token = $token; $this->expires_at = $expires_at; } public function task_id(): int { return $this->task_id; } public function run_id(): int { return $this->run_id; } public function task_uuid(): string { return $this->task_uuid; } public function check_id(): string { return $this->check_id; } /** * @return array */ public function cursor(): array { return $this->cursor; } public function attempt(): int { return $this->attempt; } public function token(): string { return $this->token; } public function expires_at(): string { return $this->expires_at; } }