From 5af6e215292a5ba09c7686f96917ef63b9242fe8 Mon Sep 17 00:00:00 2001 From: Lctrs Date: Tue, 10 Dec 2019 13:41:18 +0100 Subject: [PATCH] [DI] Add support for defining method calls in InlineServiceConfigurator --- src/Symfony/Component/DependencyInjection/CHANGELOG.md | 1 + .../Loader/Configurator/InlineServiceConfigurator.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Symfony/Component/DependencyInjection/CHANGELOG.md b/src/Symfony/Component/DependencyInjection/CHANGELOG.md index 4c6e3671fa0f..b35c8808ae2b 100644 --- a/src/Symfony/Component/DependencyInjection/CHANGELOG.md +++ b/src/Symfony/Component/DependencyInjection/CHANGELOG.md @@ -5,6 +5,7 @@ CHANGELOG ----- * added support to autowire public typed properties in php 7.4 + * added support for defining method calls, a configurator, and property setters in `InlineServiceConfigurator` 5.0.0 ----- diff --git a/src/Symfony/Component/DependencyInjection/Loader/Configurator/InlineServiceConfigurator.php b/src/Symfony/Component/DependencyInjection/Loader/Configurator/InlineServiceConfigurator.php index 362b374e5597..9802de884a20 100644 --- a/src/Symfony/Component/DependencyInjection/Loader/Configurator/InlineServiceConfigurator.php +++ b/src/Symfony/Component/DependencyInjection/Loader/Configurator/InlineServiceConfigurator.php @@ -23,10 +23,13 @@ class InlineServiceConfigurator extends AbstractConfigurator use Traits\ArgumentTrait; use Traits\AutowireTrait; use Traits\BindTrait; + use Traits\CallTrait; + use Traits\ConfiguratorTrait; use Traits\FactoryTrait; use Traits\FileTrait; use Traits\LazyTrait; use Traits\ParentTrait; + use Traits\PropertyTrait; use Traits\TagTrait; public function __construct(Definition $definition)