프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$clock | MGDigital\BusQue\ClockInterface | ||
$commandBus | MGDigital\BusQue\CommandBusAdapterInterface | ||
$commandIdGenerator | MGDigital\BusQue\CommandIdGeneratorInterface | ||
$implementation | |||
$prophet | Prophecy\Prophet | ||
$queueResolver | MGDigital\BusQue\QueueResolverInterface |
메소드 | 설명 | |
---|---|---|
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 ) |
메소드 | 설명 | |
---|---|---|
getImplementation ( ) : |
||
queueCommand ( $command, string $id = null ) | ||
scheduleCommand ( $command, DateTimeInterface $dateTime, string $id ) |
abstract protected getImplementation ( ) : |
||
리턴 |
public iScheduleACommandWithIdToRunAt ( $command, $id, $arg1, $arg2 ) |
protected scheduleCommand ( $command, DateTimeInterface $dateTime, string $id ) | ||
$dateTime | DateTimeInterface | |
$id | string |
public theCommandWithIdShouldBeScheduledAt ( $arg1, $arg2, $arg3 ) |
public thereShouldBeNCommandsInTheQueue ( integer $arg1 ) | ||
$arg1 | integer |
protected ClockInterface,MGDigital\BusQue $clock | ||
리턴 | MGDigital\BusQue\ClockInterface |
protected CommandBusAdapterInterface,MGDigital\BusQue $commandBus | ||
리턴 | MGDigital\BusQue\CommandBusAdapterInterface |
protected CommandIdGeneratorInterface,MGDigital\BusQue $commandIdGenerator | ||
리턴 | MGDigital\BusQue\CommandIdGeneratorInterface |
protected Implementation,MGDigital\BusQue $implementation | ||
리턴 |