PHP 클래스 spec\SM\StateMachine\StateMachineSpec

상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: winzou/state-machine

보호된 프로퍼티들

프로퍼티 타입 설명
$config

공개 메소드들

메소드 설명
it_applies_transition ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard, SM\Callback\CallbackInterface $callback1, SM\Callback\CallbackInterface $callback2, SM\Callback\CallbackInterface $callback3 )
it_can ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
it_cannot ( $object, $dispatcher )
it_does_nothing_if_transition_cannot_be_applied_in_soft_mode ( $object, $dispatcher )
it_is_guarded_and_can ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
it_is_guarded_and_cannot ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
it_is_initializable ( )
it_returns_current_graph ( )
it_returns_current_object ( $object )
it_returns_current_state ( $object )
it_returns_possible_transitions ( $object, $callbackFactory, SM\Callback\CallbackInterface $guard )
it_throws_an_exception_if_transition_cannot_be_applied ( $object, $dispatcher )
it_throws_an_exception_if_transition_doesnt_exist_on_apply ( )
it_throws_an_exception_if_transition_doesnt_exist_on_can ( )
let ( spec\SM\DummyObject $object, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, SM\Callback\CallbackFactoryInterface $callbackFactory )

메소드 상세

it_applies_transition() 공개 메소드

public it_applies_transition ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard, SM\Callback\CallbackInterface $callback1, SM\Callback\CallbackInterface $callback2, SM\Callback\CallbackInterface $callback3 )
$guard SM\Callback\CallbackInterface
$callback1 SM\Callback\CallbackInterface
$callback2 SM\Callback\CallbackInterface
$callback3 SM\Callback\CallbackInterface

it_can() 공개 메소드

public it_can ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
$guard SM\Callback\CallbackInterface

it_cannot() 공개 메소드

public it_cannot ( $object, $dispatcher )

it_does_nothing_if_transition_cannot_be_applied_in_soft_mode() 공개 메소드

it_is_guarded_and_can() 공개 메소드

public it_is_guarded_and_can ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
$guard SM\Callback\CallbackInterface

it_is_guarded_and_cannot() 공개 메소드

public it_is_guarded_and_cannot ( $object, $dispatcher, $callbackFactory, SM\Callback\CallbackInterface $guard )
$guard SM\Callback\CallbackInterface

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_returns_current_graph() 공개 메소드

it_returns_current_object() 공개 메소드

public it_returns_current_object ( $object )

it_returns_current_state() 공개 메소드

public it_returns_current_state ( $object )

it_returns_possible_transitions() 공개 메소드

public it_returns_possible_transitions ( $object, $callbackFactory, SM\Callback\CallbackInterface $guard )
$guard SM\Callback\CallbackInterface

it_throws_an_exception_if_transition_cannot_be_applied() 공개 메소드

it_throws_an_exception_if_transition_doesnt_exist_on_apply() 공개 메소드

it_throws_an_exception_if_transition_doesnt_exist_on_can() 공개 메소드

let() 공개 메소드

public let ( spec\SM\DummyObject $object, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, SM\Callback\CallbackFactoryInterface $callbackFactory )
$object spec\SM\DummyObject
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$callbackFactory SM\Callback\CallbackFactoryInterface

프로퍼티 상세

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

protected $config