PHP Class Alterway\Component\Workflow\Transition

Afficher le fichier Open project: alterway/component-workflow

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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

getDestination() public méthode

Returns the destination of the current transition.
public getDestination ( ) : Node
Résultat Node

isOpen() public méthode

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
Résultat boolean