This PR was merged into the 2.8 branch.
Discussion
----------
[DependencyInjection] Allow anonymous DefinitionDecorator resolving
| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
This PR allows injecting anonymous DefinitionDecorator into services' arguments/properties, such as:
```php
$container->register('foo_service_name', 'FooClass')
->setProperty('bar', new DefinitionDecorator('definition_decorated_service'))
;
```
Commits
-------
|
||
---|---|---|
.. | ||
Bridge | ||
Bundle | ||
Component |