raoul2000\workflow\source\IWorkflowSource::getTransitions PHP Method

getTransitions() public method

If no status is found for this id, a WorkflowException must be thrown. If not outgoing transition exists for the status, an empty array must be returned. The array returned must be indexed by status Id
public getTransitions ( mixed $statusId, $model = null ) : raoul2000\workflow\base\TransitionInterface[]
$statusId mixed
return raoul2000\workflow\base\TransitionInterface[] an array containing all out going transition from $statusId. If no such transition exist, this method returns an empty array.
    public function getTransitions($statusId, $model = null);