This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/DependencyInjection/Tests/Fixtures
Fabien Potencier 90d42eb0a9 feature #19190 [DependencyInjection] Add support for short services configurators syntax (voronkovich)
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
-------

da2757f [DependencyInjection] Add support for short services configurators syntax
2016-06-29 07:46:37 +02:00
..
containers Merge branch '3.0' into 3.1 2016-05-24 12:06:56 +02:00
directory [DI][Routing] recursive directory loading 2015-06-02 16:17:59 -07:00
graphviz [DependencyInjection] Avoid generating call_user_func in more cases 2016-05-19 10:07:44 +02:00
includes [CS] Respect PSR2 4.2 2016-06-25 13:30:09 -03:00
ini moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
php fixed CS 2016-06-29 07:40:45 +02:00
xml Merge branch '3.0' into 3.1 2016-05-24 12:06:56 +02:00
yaml [DependencyInjection] Add support for short services configurators syntax 2016-06-29 07:46:34 +02:00