W3cubDocs

/Symfony 4.1

UndefinedTransitionException

class UndefinedTransitionException extends TransitionException

Thrown by Workflow when an undefined transition is applied on a subject.

Methods

__construct($subject, string $transitionName, WorkflowInterface $workflow)
getSubject() from TransitionException
string getTransitionName() from TransitionException
WorkflowInterface getWorkflow() from TransitionException

Details

__construct($subject, string $transitionName, WorkflowInterface $workflow)

Parameters

$subject
string $transitionName
WorkflowInterface $workflow

getSubject()

string getTransitionName()

Return Value

string

WorkflowInterface getWorkflow()

Return Value

WorkflowInterface