Метод | Описание | |
---|---|---|
cancelScheduledCommand ( string $queueName, string $id ) | ||
clearSchedule ( array $queueNames = null, DateTimeInterface $start = null, DateTimeInterface $end = null ) | ||
getScheduledTime ( string $queueName, string $id ) : DateTimeInterface | null | ||
receiveDueCommands ( DateTimeInterface $now, integer $limit = SchedulerWorker::DEFAULT_THROTTLE, DateTimeInterface $startTime = null ) : array | ||
scheduleCommand ( string $queueName, string $id, string $serialized, DateTimeInterface $dateTime ) |
public cancelScheduledCommand ( string $queueName, string $id ) | ||
$queueName | string | |
$id | string |
public clearSchedule ( array $queueNames = null, DateTimeInterface $start = null, DateTimeInterface $end = null ) | ||
$queueNames | array | |
$start | DateTimeInterface | |
$end | DateTimeInterface |
public receiveDueCommands ( DateTimeInterface $now, integer $limit = SchedulerWorker::DEFAULT_THROTTLE, DateTimeInterface $startTime = null ) : array | ||
$now | DateTimeInterface | |
$limit | integer | The maximum number of scheduled commands to return. |
$startTime | DateTimeInterface | Return due commands since $startTime or the beginning of time. |
Результат | array |