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 @@ -146,7 +146,7 @@ As configured, the following property is used by the marking store::
146
146
147
147
class BlogPost
148
148
{
149
- // This property is used by the marking store
149
+ // This property is used by the marking store, by default, Symfony "mark" this attribute as an array.
150
150
public $currentPlace;
151
151
public $title;
152
152
public $content;
@@ -164,6 +164,11 @@ As configured, the following property is used by the marking store::
164
164
attributes of the ``marking_store `` option are optional. If omitted, their default values
165
165
will be used.
166
166
167
+ .. note ::
168
+
169
+ Please note that if you decide to store $currentPlace using Doctrine,
170
+ the attribute must be mapped to an array.
171
+
167
172
.. tip ::
168
173
169
174
Setting the ``audit_trail.enabled `` option to ``true `` makes the application
You can’t perform that action at this time.
0 commit comments