90d42eb0a9
This PR was squashed before being merged into the 3.2-dev branch (closes #19190).
Discussion
----------
[DependencyInjection] Add support for short services configurators syntax
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
This PR adds support for short services configurators syntax in YAML files:
```yaml
services:
app.some_service:
class: ...
# Common syntax
configurator: [ '@app.configurator', 'configure' ]
# Short syntax
configurator: 'app.configurator:configure'
Commits
-------
|
||
---|---|---|
.. | ||
containers | ||
directory | ||
graphviz | ||
includes | ||
ini | ||
php | ||
xml | ||
yaml |