File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,8 @@ The configured property will be used via its implemented getter/setter methods b
196196 }
197197 }
198198
199- It is also possible to use public properties to be used by the marking
200- store. The above class would become the following::
199+ It is also possible to use public properties for the marking store. The above
200+ class would become the following::
201201
202202 // src/Entity/BlogPost.php
203203 namespace App\Entity;
@@ -210,8 +210,8 @@ store. The above class would become the following::
210210 public string $content;
211211 }
212212
213- When using public properties, context is not supported. In order
214- to support it, you must declare a setter to write your property::
213+ When using public properties, context is not supported. In order to support it,
214+ you must declare a setter to write your property::
215215
216216 // src/Entity/BlogPost.php
217217 namespace App\Entity;
@@ -223,13 +223,13 @@ to support it, you must declare a setter to write your property::
223223
224224 public function setCurrentPlace(string $currentPlace, array $context = []): void
225225 {
226- // Assign the property and so something with `$ context`
226+ // assign the property and do something with the context
227227 }
228228 }
229229
230230.. versionadded :: 6.4
231231
232- The support of using public properties instead of getter/setter methods
232+ The feature to use public properties instead of getter/setter methods
233233 and private properties was introduced in Symfony 6.4.
234234
235235.. note ::
You can’t perform that action at this time.
0 commit comments