Skip to content

Document the Workflow deprecations #9017

Closed
@javiereguiluz

Description

@javiereguiluz

symfony/symfony#24751:

  • Deprecated the add method in favor of the addWorkflow method in Workflow\Registry.
  • Deprecated SupportStrategyInterface in favor of WorkflowSupportStrategyInterface.
  • Deprecated the class ClassInstanceSupportStrategy in favor of the class InstanceOfSupportStrategy.

@Simperfit do you think you could update the Workflow examples in the master branch of the docs to update for these deprecations? In addition to updating the example contents, we'd need to add cautions like this:

.. versionadded:: 4.1
    The ``addWorkflow()`` method was introduced in Symfony 4.1. In previous
    Symfony versions it was called ``add()``.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions