MGDigital\BusQue\SchedulerDriverInterface::receiveDueCommands PHP Method

receiveDueCommands() public method

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.
return array
    public function receiveDueCommands(\DateTimeInterface $now, int $limit = SchedulerWorker::DEFAULT_THROTTLE, \DateTimeInterface $startTime = null) : array;