MGDigital\BusQue\Redis\RedisDriver::getScheduledTime PHP Метод

getScheduledTime() публичный Метод

public getScheduledTime ( string $queueName, string $id ) : DateTimeInterface | null
$queueName string
$id string
Результат DateTimeInterface | null
    public function getScheduledTime(string $queueName, string $id)
    {
        $score = $this->adapter->zScore("{$this->namespace}:schedule", "{$queueName}||{$id}");
        if ($score !== null) {
            return new \DateTimeImmutable("@{$score}");
        }
    }