Registry
class Registry
Methods
add(Workflow $workflow, SupportStrategyInterface $supportStrategy) deprecated | ||
addWorkflow(WorkflowInterface $workflow, WorkflowSupportStrategyInterface $supportStrategy) | ||
Workflow | get(object $subject, string|null $workflowName = null) | |
array | all(object $subject) |
Details
add(Workflow $workflow, SupportStrategyInterface $supportStrategy) deprecated
deprecated
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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Workflow/Registry.html