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 |