We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b79c0b commit e568dd4Copy full SHA for e568dd4
service_container/service_closures.rst
@@ -49,13 +49,15 @@ argument of type ``service_closure``:
49
App\Service\MyService:
50
arguments: [!service_closure '@mailer']
51
52
- # A shorthand is available
53
- # arguments: ['@>mailer']
54
-
55
# In case the dependency is optional
56
# arguments: [!service_closure '@?mailer']
57
58
- # Using the shorthand
+.. versionadded:: 7.3
+
+ # A shorthand is available
+ # arguments: ['@>mailer']
59
60
+ # It also works when the dependency is optional
61
# arguments: ['@>?mailer']
62
63
.. code-block:: xml
0 commit comments