Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Document the Workflow deprecations #9017

Copy link
Copy link
Closed
@javiereguiluz

Description

@javiereguiluz
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.