WorkflowExtension

WorkflowExtension

class WorkflowExtension extends AbstractExtension

WorkflowExtension.

Methods

__construct(Registry $workflowRegistry)
getFunctions()
bool canTransition(object $subject, string $transitionName, string $name = null)

Returns true if the transition is enabled.

Transition[] getEnabledTransitions(object $subject, string $name