From 953a6683b0cbcbfd7d82def0980db8c61cf94750 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 17 Apr 2019 15:29:42 +0200 Subject: [PATCH 1/2] Fixed a typo --- workflow/introduction.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/workflow/introduction.rst b/workflow/introduction.rst index 4836a39d2ec..acef87e8018 100644 --- a/workflow/introduction.rst +++ b/workflow/introduction.rst @@ -1,8 +1,8 @@ Workflows and State Machines ============================ -Worflows --------- +Workflows +--------- A workflow is a model of a process in your application. It may be the process of how a blog post goes from draft to review and publish. Another example is when a @@ -51,9 +51,9 @@ your model. The most important differences between them are: machines can't; * Workflows usually don't have cyclic paths in the definition graph, but it's common for state machines; -* In order to apply a transition, worflows require that the object is in all the - previous places of the transition, whereas state machines only require that - the object is at least in one of those places. +* In order to apply a transition, workflows require that the object is in all + the previous places of the transition, whereas state machines only require + that the object is at least in one of those places. Example ~~~~~~~ From c1c755efb111aebb89d36f712c82fbd6b377f6b6 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 17 Apr 2019 15:31:05 +0200 Subject: [PATCH 2/2] Removed unneeded versionadded directives --- workflow.rst | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/workflow.rst b/workflow.rst index 5a8b23219b8..bb15af35ba7 100644 --- a/workflow.rst +++ b/workflow.rst @@ -197,10 +197,6 @@ As configured, the following property is used by the marking store:: Setting the ``audit_trail.enabled`` option to ``true`` makes the application generate detailed log messages for the workflow activity. - .. versionadded:: 3.3 - - The ``audit_trail`` option was introduced in Symfony 3.3. - With this workflow named ``blog_publishing``, you can get help to decide what actions are allowed on a blog post:: @@ -406,10 +402,6 @@ This means that each event has access to the following information: :method:`Symfony\\Component\\Workflow\\Event\\Event::getWorkflowName` Returns a string with the name of the workflow that triggered the event. - .. versionadded:: 3.3 - - The ``getWorkflowName()`` method was introduced in Symfony 3.3. - For Guard Events, there is an extended class :class:`Symfony\\Component\\Workflow\\Event\\GuardEvent`. This class has two more methods: @@ -475,11 +467,6 @@ of domain logic in your templates: ``workflow_has_marked_place()`` Returns ``true`` if the marking of the given object has the given state. -.. versionadded:: 3.3 - - The ``workflow_marked_places()`` and ``workflow_has_marked_place()`` - functions were introduced in Symfony 3.3. - The following example shows these functions in action: .. code-block:: html+twig