Skip to content

Commit dcd5b4c

Browse files
authored
Update serializer.rst
Remove default value (false) from ignoring rules in XML and YML files as I didn't put them in PHP code.
1 parent 56be700 commit dcd5b4c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

components/serializer.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,6 @@ Option 1: Using ``@Ignore`` annotation
443443
444444
App\Model\MyClass:
445445
attributes:
446-
foo:
447-
ignore: false
448446
bar:
449447
ignore: true
450448
@@ -457,10 +455,6 @@ Option 1: Using ``@Ignore`` annotation
457455
https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
458456
>
459457
<class name="App\Model\MyClass">
460-
<attribute name="foo">
461-
<ignore>false</ignore>
462-
</attribute>
463-
464458
<attribute name="bar">
465459
<ignore>true</ignore>
466460
</attribute>

0 commit comments

Comments
 (0)