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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Workflow/Exception/UndefinedTransitionException.html