Skip to content

Commit 2c561c2

Browse files
committed
Added note about on-ignore=null
1 parent bbec4cc commit 2c561c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

book/service_container.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,12 @@ allow for an optional dependency::
812812
// ...
813813
}
814814

815+
.. note::
816+
817+
Sometimes you may not want to ignore the argument but rather explicitly
818+
set it to null. In thiscase you can use the`set (in XML)
819+
``on-ignore=null``.
820+
815821
Core Symfony and Third-Party Bundle Services
816822
--------------------------------------------
817823

0 commit comments

Comments
 (0)