File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
Workflow
2
2
========
3
3
4
- Using the Workflow component inside a Symfony application requires to know first
4
+ Using the Workflow component inside a Symfony application requires knowing first
5
5
some basic theory and concepts about workflows and state machines.
6
6
:doc: `Read this article </workflow/workflow-and-state-machine >` for a quick overview.
7
7
@@ -29,8 +29,8 @@ Creating a Workflow
29
29
-------------------
30
30
31
31
A workflow is a process or a lifecycle that your objects go through. Each
32
- step or stage in the process is called a *place *. You do also define *transitions *
33
- to that describes the action to get from one place to another.
32
+ step or stage in the process is called a *place *. You also define *transitions *,
33
+ which describe the action needed to get from one place to another.
34
34
35
35
.. image :: /_images/components/workflow/states_transitions.png
36
36
@@ -39,8 +39,8 @@ a ``Definition`` and a way to write the states to the objects (i.e. an
39
39
instance of a :class: `Symfony\\ Component\\ Workflow\\ MarkingStore\\ MarkingStoreInterface `.)
40
40
41
41
Consider the following example for a blog post. A post can have these places:
42
- ``draft ``, ``reviewed ``, ``rejected ``, ``published ``. You can define the workflow
43
- like this :
42
+ ``draft ``, ``reviewed ``, ``rejected ``, ``published ``. You could define the workflow as
43
+ follows :
44
44
45
45
.. configuration-block ::
46
46
You can’t perform that action at this time.
0 commit comments