PHP 클래스 MGDigital\BusQue\Features\Context\AbstractBaseContext

상속: implements Behat\Behat\Context\SnippetAcceptingContext
파일 보기 프로젝트 열기: mgdigital/busque

보호된 프로퍼티들

프로퍼티 타입 설명
$clock MGDigital\BusQue\ClockInterface
$commandBus MGDigital\BusQue\CommandBusAdapterInterface
$commandIdGenerator MGDigital\BusQue\CommandIdGeneratorInterface
$implementation MGDigital\BusQue\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 ( ) : Implementation
queueCommand ( $command, string $id = null )
scheduleCommand ( $command, DateTimeInterface $dateTime, string $id )

메소드 상세

getImplementation() 추상적인 보호된 메소드

abstract protected getImplementation ( ) : Implementation
리턴 MGDigital\BusQue\Implementation

iCancel() 공개 메소드

public iCancel ( $arg1 )

iClearTheQueue() 공개 메소드

public iClearTheQueue ( )

iClearTheSchedule() 공개 메소드

public iClearTheSchedule ( )

iDeleteTheQueue() 공개 메소드

public iDeleteTheQueue ( )

iQueueACommand() 공개 메소드

public iQueueACommand ( $command )

iQueueACommandWithId() 공개 메소드

public iQueueACommandWithId ( $command, string $id )
$id string

iRunTheQueueWorker() 공개 메소드

public iRunTheQueueWorker ( )

iRunTheSchedulerWorker() 공개 메소드

iScheduleACommandToRunAt() 공개 메소드

public iScheduleACommandToRunAt ( $command, $arg1, $arg2 )

iScheduleACommandWithIdToRunAt() 공개 메소드

public iScheduleACommandWithIdToRunAt ( $command, $id, $arg1, $arg2 )

queueCommand() 보호된 메소드

protected queueCommand ( $command, string $id = null )
$id string

scheduleCommand() 보호된 메소드

protected scheduleCommand ( $command, DateTimeInterface $dateTime, string $id )
$dateTime DateTimeInterface
$id string

setup() 공개 메소드

public setup ( )

theCommandArgShouldHaveRun() 공개 메소드

public theCommandArgShouldHaveRun ( $arg1 )

theCommandArgShouldNotHaveRun() 공개 메소드

theCommandShouldBeQueued() 공개 메소드

theCommandShouldHaveRun() 공개 메소드

theCommandWillThrowAnExceptionWhenItIsHandled() 공개 메소드

theCommandWithIdArgShouldBQueued() 공개 메소드

theCommandWithIdShouldBeScheduledAt() 공개 메소드

public theCommandWithIdShouldBeScheduledAt ( $arg1, $arg2, $arg3 )

theCommandWithIdShouldResolveTo() 공개 메소드

public theCommandWithIdShouldResolveTo ( $arg1, $arg2 )

theQueueIsEmpty() 공개 메소드

public theQueueIsEmpty ( )

theQueueShouldHaveBeenDeleted() 공개 메소드

theTimeIs() 공개 메소드

public theTimeIs ( $arg1, $arg2 )

thereShouldBeNCommandsInTheQueue() 공개 메소드

프로퍼티 상세

$clock 보호되어 있는 프로퍼티

protected ClockInterface,MGDigital\BusQue $clock
리턴 MGDigital\BusQue\ClockInterface

$commandBus 보호되어 있는 프로퍼티

protected CommandBusAdapterInterface,MGDigital\BusQue $commandBus
리턴 MGDigital\BusQue\CommandBusAdapterInterface

$commandIdGenerator 보호되어 있는 프로퍼티

protected CommandIdGeneratorInterface,MGDigital\BusQue $commandIdGenerator
리턴 MGDigital\BusQue\CommandIdGeneratorInterface

$implementation 보호되어 있는 프로퍼티

protected Implementation,MGDigital\BusQue $implementation
리턴 MGDigital\BusQue\Implementation

$prophet 보호되어 있는 프로퍼티

protected Prophet,Prophecy $prophet
리턴 Prophecy\Prophet

$queueResolver 보호되어 있는 프로퍼티

protected QueueResolverInterface,MGDigital\BusQue $queueResolver
리턴 MGDigital\BusQue\QueueResolverInterface