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::
146146
147147 class BlogPost
148148 {
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.
150150 public $currentPlace;
151151 public $title;
152152 public $content;
@@ -164,6 +164,11 @@ As configured, the following property is used by the marking store::
164164 attributes of the ``marking_store `` option are optional. If omitted, their default values
165165 will be used.
166166
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+
167172.. tip ::
168173
169174 Setting the ``audit_trail.enabled `` option to ``true `` makes the application
You can’t perform that action at this time.
0 commit comments