PHP Interface raoul2000\workflow\base\TransitionInterface

If status "A" has a transition to status "B", then it only means that it is possible to go from status "A" to status "B".
Show file Open project: raoul2000/yii2-workflow

Public Methods

Method Description
getEndStatus ( ) : raoul2000\workflow\base\StatusInterface Returns the Status instance that is the destination status.
getId ( ) : string
getStartStatus ( ) : raoul2000\workflow\base\StatusInterface Returns the Status instance that is the starting point fo the transition.

Method Details

getEndStatus() public method

Returns the Status instance that is the destination status.
public getEndStatus ( ) : raoul2000\workflow\base\StatusInterface
return raoul2000\workflow\base\StatusInterface the Status instance this transition ends to

getId() public method

public getId ( ) : string
return string the transition id

getStartStatus() public method

Returns the Status instance that is the starting point fo the transition.
public getStartStatus ( ) : raoul2000\workflow\base\StatusInterface
return raoul2000\workflow\base\StatusInterface the Status instance this transition starts from