W3cubDocs

/Symfony 4.1

NotEnabledTransitionException

class NotEnabledTransitionException extends TransitionException

Thrown by Workflow when a not enabled transition is applied on a subject.

Methods

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

Details

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

Parameters

$subject
string $transitionName
WorkflowInterface $workflow
TransitionBlockerList $transitionBlockerList

getSubject()

string getTransitionName()

Return Value

string

WorkflowInterface getWorkflow()

Return Value

WorkflowInterface

TransitionBlockerList getTransitionBlockerList()

Return Value

TransitionBlockerList