class Registry

Methods

add(Workflow $workflow, SupportStrategyInterface $supportStrategy) deprecated

No description

addWorkflow(WorkflowInterface $workflow, WorkflowSupportStrategyInterface $supportStrategy)

No description

get(object $subject, string|null $workflowName = null)

No description

array
all(object $subject)

No description

Details

add(Workflow $workflow, SupportStrategyInterface $supportStrategy) deprecated

deprecated since Symfony 4.1, use addWorkflow() instead

Parameters

Workflow $workflow
SupportStrategyInterface $supportStrategy

addWorkflow(WorkflowInterface $workflow, WorkflowSupportStrategyInterface $supportStrategy)

Parameters

WorkflowInterface $workflow
WorkflowSupportStrategyInterface $supportStrategy

Workflow get(object $subject, string|null $workflowName = null)

Parameters

object $subject
string|null $workflowName

Return Value

Workflow

array all(object $subject)

Parameters

object $subject

Return Value

array