PHP Class spec\Alterway\Component\Workflow\WorkflowSpec

Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: alterway/component-workflow

Méthodes publiques

Méthode Description
it_advances_when_only_one_way_exists ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
it_is_initializable ( )
it_is_initializable_with_a_known_token ( )
it_is_initializable_with_an_empty_token ( )
it_throws_exception_if_initialized_with_an_unknown_token ( )
it_throws_exception_when_advancing_if_not_initialized ( Alterway\Component\Workflow\ContextInterface $ctx )
it_throws_exception_when_more_than_one_way_exist ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
it_throws_exception_when_no_way_exist ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
let ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC )

Method Details

it_advances_when_only_one_way_exists() public méthode

public it_advances_when_only_one_way_exists ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$specA Alterway\Component\Workflow\SpecificationInterface
$specAB Alterway\Component\Workflow\SpecificationInterface
$specAC Alterway\Component\Workflow\SpecificationInterface
$ctx Alterway\Component\Workflow\ContextInterface

it_is_initializable() public méthode

public it_is_initializable ( )

it_is_initializable_with_a_known_token() public méthode

it_is_initializable_with_an_empty_token() public méthode

it_throws_exception_if_initialized_with_an_unknown_token() public méthode

it_throws_exception_when_advancing_if_not_initialized() public méthode

public it_throws_exception_when_advancing_if_not_initialized ( Alterway\Component\Workflow\ContextInterface $ctx )
$ctx Alterway\Component\Workflow\ContextInterface

it_throws_exception_when_more_than_one_way_exist() public méthode

public it_throws_exception_when_more_than_one_way_exist ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$specA Alterway\Component\Workflow\SpecificationInterface
$specAB Alterway\Component\Workflow\SpecificationInterface
$specAC Alterway\Component\Workflow\SpecificationInterface
$ctx Alterway\Component\Workflow\ContextInterface

it_throws_exception_when_no_way_exist() public méthode

public it_throws_exception_when_no_way_exist ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC, Alterway\Component\Workflow\ContextInterface $ctx )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$specA Alterway\Component\Workflow\SpecificationInterface
$specAB Alterway\Component\Workflow\SpecificationInterface
$specAC Alterway\Component\Workflow\SpecificationInterface
$ctx Alterway\Component\Workflow\ContextInterface

let() public méthode

public let ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Alterway\Component\Workflow\SpecificationInterface $specA, Alterway\Component\Workflow\SpecificationInterface $specAB, Alterway\Component\Workflow\SpecificationInterface $specAC )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$specA Alterway\Component\Workflow\SpecificationInterface
$specAB Alterway\Component\Workflow\SpecificationInterface
$specAC Alterway\Component\Workflow\SpecificationInterface