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

at line 32
add(Workflow $workflow, SupportStrategyInterface $supportStrategy) deprecated

deprecated since Symfony 4.1, use addWorkflow() instead

Parameters

Workflow $workflow
SupportStrategyInterface $supportStrategy

at line 38
addWorkflow(WorkflowInterface $workflow, WorkflowSupportStrategyInterface $supportStrategy)

Parameters

WorkflowInterface $workflow
WorkflowSupportStrategyInterface $supportStrategy

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

Parameters

object $subject
string|null $workflowName

Return Value

Workflow

at line 74
array all(object $subject)

Parameters

object $subject

Return Value

array