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

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

public clearSchedule ( array $queueNames = null, DateTimeInterface $start = null, DateTimeInterface $end = null )
$queueNames array
$start DateTimeInterface
$end DateTimeInterface
    public function clearSchedule(array $queueNames = null, \DateTimeInterface $start = null, \DateTimeInterface $end = null)
    {
        if ($queueNames === null) {
            $queueNames = [null];
        }
        foreach ($queueNames as $queueName) {
            $this->evalScript('clear_schedule', [$this->namespace, $queueName, $start ? $start->getTimestamp() : '-inf', $end ? $end->getTimestamp() : '+inf']);
        }
    }