PHP Class spec\Alterway\Component\Workflow\WorkflowSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: alterway/component-workflow

Public Methods

Method 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 method

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 method

public it_is_initializable ( )

it_is_initializable_with_a_known_token() public method

it_is_initializable_with_an_empty_token() public method

it_throws_exception_if_initialized_with_an_unknown_token() public method

it_throws_exception_when_advancing_if_not_initialized() public method

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 method

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 method

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 method

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