PHP 클래스 Alterway\Component\Workflow\Transition

파일 보기 프로젝트 열기: alterway/component-workflow

공개 메소드들

메소드 설명
__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