PHP Класс Alterway\Component\Workflow\Transition

Показать файл Открыть проект

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

Метод Описание
__construct ( Node $src, Node $dst, Alterway\Component\Workflow\SpecificationInterface $spec )
getDestination ( ) : Node Returns the destination of the current transition.
isOpen ( Alterway\Component\Workflow\ContextInterface $context ) : boolean Checks if the current transition satisfies the specifiation on the given context.

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

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

public __construct ( Node $src, Node $dst, Alterway\Component\Workflow\SpecificationInterface $spec )
$src Node
$dst Node
$spec Alterway\Component\Workflow\SpecificationInterface

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

Returns the destination of the current transition.
public getDestination ( ) : Node
Результат Node

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

Checks if the current transition satisfies the specifiation on the given context.
public isOpen ( Alterway\Component\Workflow\ContextInterface $context ) : boolean
$context Alterway\Component\Workflow\ContextInterface
Результат boolean