Property | Type | Description | |
---|---|---|---|
$clock | MGDigital\BusQue\ClockInterface | ||
$commandBus | MGDigital\BusQue\CommandBusAdapterInterface | ||
$commandIdGenerator | MGDigital\BusQue\CommandIdGeneratorInterface | ||
$implementation | |||
$prophet | Prophecy\Prophet | ||
$queueResolver | MGDigital\BusQue\QueueResolverInterface |
Method | Description | |
---|---|---|
iCancel ( $arg1 ) | ||
iClearTheQueue ( ) | ||
iClearTheSchedule ( ) | ||
iDeleteTheQueue ( ) | ||
iQueueACommand ( $command ) | ||
iQueueACommandWithId ( $command, string $id ) | ||
iRunTheQueueWorker ( ) | ||
iRunTheSchedulerWorker ( ) | ||
iScheduleACommandToRunAt ( $command, $arg1, $arg2 ) | ||
iScheduleACommandWithIdToRunAt ( $command, $id, $arg1, $arg2 ) | ||
setup ( ) | ||
theCommandArgShouldHaveRun ( $arg1 ) | ||
theCommandArgShouldNotHaveRun ( $arg1 ) | ||
theCommandShouldBeQueued ( ) | ||
theCommandShouldHaveRun ( ) | ||
theCommandWillThrowAnExceptionWhenItIsHandled ( ) | ||
theCommandWithIdArgShouldBQueued ( $arg1 ) | ||
theCommandWithIdShouldBeScheduledAt ( $arg1, $arg2, $arg3 ) | ||
theCommandWithIdShouldResolveTo ( $arg1, $arg2 ) | ||
theQueueIsEmpty ( ) | ||
theQueueShouldHaveBeenDeleted ( ) | ||
theTimeIs ( $arg1, $arg2 ) | ||
thereShouldBeNCommandsInTheQueue ( integer $arg1 ) |
Method | Description | |
---|---|---|
getImplementation ( ) : |
||
queueCommand ( $command, string $id = null ) | ||
scheduleCommand ( $command, DateTimeInterface $dateTime, string $id ) |
abstract protected getImplementation ( ) : |
||
return |
public iQueueACommandWithId ( $command, string $id ) | ||
$id | string |
public iScheduleACommandWithIdToRunAt ( $command, $id, $arg1, $arg2 ) |
protected scheduleCommand ( $command, DateTimeInterface $dateTime, string $id ) | ||
$dateTime | DateTimeInterface | |
$id | string |
public theCommandWithIdShouldBeScheduledAt ( $arg1, $arg2, $arg3 ) |
public theCommandWithIdShouldResolveTo ( $arg1, $arg2 ) |
public thereShouldBeNCommandsInTheQueue ( integer $arg1 ) | ||
$arg1 | integer |
protected ClockInterface,MGDigital\BusQue $clock | ||
return | MGDigital\BusQue\ClockInterface |
protected CommandBusAdapterInterface,MGDigital\BusQue $commandBus | ||
return | MGDigital\BusQue\CommandBusAdapterInterface |
protected CommandIdGeneratorInterface,MGDigital\BusQue $commandIdGenerator | ||
return | MGDigital\BusQue\CommandIdGeneratorInterface |
protected Implementation,MGDigital\BusQue $implementation | ||
return |