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 40b2067 commit b6050bfCopy full SHA for b6050bf
service_container.rst
@@ -189,7 +189,12 @@ each time you ask for it.
189
.. tip::
190
191
The value of the ``resource`` and ``exclude`` options can be any valid
192
- `glob pattern`_.
+ `glob pattern`_. The value of the ``exclude`` option can also be an
193
+ array of glob patterns.
194
+
195
+ .. versionadded:: 4.2
196
+ The feature to pass arrays of glob patterns to the ``exclude``
197
+ option was introduced in Symfony 4.2.
198
199
Thanks to this configuration, you can automatically use any classes from the
200
``src/`` directory as a service, without needing to manually configure
0 commit comments