File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ like this:
138138
139139 class BlogPost
140140 {
141- // This property is used by the marking store
141+ // This property is used by the marking store, by default, Symfony "mark" this attribute as an array.
142142 public $currentPlace;
143143 public $title;
144144 public $content;
@@ -155,7 +155,12 @@ like this:
155155 The ``type `` (default value ``single_state ``) and ``arguments `` (default value ``marking ``)
156156 attributes of the ``marking_store `` option are optional. If omitted, their default values
157157 will be used.
158+
159+ .. note ::
158160
161+ Please note that if you decide to store $currentPlace using Doctrine,
162+ the attribute must be mapped to an array.
163+
159164With this workflow named ``blog_publishing ``, you can get help to decide
160165what actions are allowed on a blog post::
161166
You can’t perform that action at this time.
0 commit comments