PHP Класс spec\Alterway\Component\Workflow\WorkflowSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Описание методов

it_advances_when_only_one_way_exists() публичный Метод

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 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() публичный Метод

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