public function getScheduledTime(string $queueName, string $id) { $score = $this->adapter->zScore("{$this->namespace}:schedule", "{$queueName}||{$id}"); if ($score !== null) { return new \DateTimeImmutable("@{$score}"); } }