File tree Expand file tree Collapse file tree 2 files changed +5
-18
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +5
-18
lines changed
Original file line number Diff line number Diff line change @@ -197,10 +197,6 @@ As configured, the following property is used by the marking store::
197
197
Setting the ``audit_trail.enabled `` option to ``true `` makes the application
198
198
generate detailed log messages for the workflow activity.
199
199
200
- .. versionadded :: 3.3
201
-
202
- The ``audit_trail `` option was introduced in Symfony 3.3.
203
-
204
200
With this workflow named ``blog_publishing ``, you can get help to decide
205
201
what actions are allowed on a blog post::
206
202
@@ -406,10 +402,6 @@ This means that each event has access to the following information:
406
402
:method: `Symfony\\ Component\\ Workflow\\ Event\\ Event::getWorkflowName `
407
403
Returns a string with the name of the workflow that triggered the event.
408
404
409
- .. versionadded :: 3.3
410
-
411
- The ``getWorkflowName() `` method was introduced in Symfony 3.3.
412
-
413
405
For Guard Events, there is an extended class :class: `Symfony\\ Component\\ Workflow\\ Event\\ GuardEvent `.
414
406
This class has two more methods:
415
407
@@ -475,11 +467,6 @@ of domain logic in your templates:
475
467
``workflow_has_marked_place() ``
476
468
Returns ``true `` if the marking of the given object has the given state.
477
469
478
- .. versionadded :: 3.3
479
-
480
- The ``workflow_marked_places() `` and ``workflow_has_marked_place() ``
481
- functions were introduced in Symfony 3.3.
482
-
483
470
The following example shows these functions in action:
484
471
485
472
.. code-block :: html+twig
Original file line number Diff line number Diff line change 1
1
Workflows and State Machines
2
2
============================
3
3
4
- Worflows
5
- --------
4
+ Workflows
5
+ ---------
6
6
7
7
A workflow is a model of a process in your application. It may be the process of
8
8
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:
51
51
machines can't;
52
52
* Workflows usually don't have cyclic paths in the definition graph, but it's
53
53
common for state machines;
54
- * In order to apply a transition, worflows require that the object is in all the
55
- previous places of the transition, whereas state machines only require that
56
- the object is at least in one of those places.
54
+ * In order to apply a transition, workflows require that the object is in all
55
+ the previous places of the transition, whereas state machines only require
56
+ that the object is at least in one of those places.
57
57
58
58
Example
59
59
~~~~~~~
You can’t perform that action at this time.
0 commit comments