306c5992ec
This PR was merged into the 4.1-dev branch. Discussion ---------- [DI] Allow autoconfigured calls in PHP | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? |no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Allow to auto-configured method calls like: ```php $container->registerForAutoconfiguration(LoggerAwareInterface::class)->addMethodCall('setLogger', array(new Reference(LoggerInterface::class))); ``` Commits ------- |
||
---|---|---|
.. | ||
AnalyzeServiceReferencesPassTest.php | ||
AutoAliasServicePassTest.php | ||
AutowirePassTest.php | ||
AutowireRequiredMethodsPassTest.php | ||
CheckArgumentsValidityPassTest.php | ||
CheckCircularReferencesPassTest.php | ||
CheckDefinitionValidityPassTest.php | ||
CheckExceptionOnInvalidReferenceBehaviorPassTest.php | ||
CheckReferenceValidityPassTest.php | ||
DecoratorServicePassTest.php | ||
DefinitionErrorExceptionPassTest.php | ||
ExtensionCompilerPassTest.php | ||
InlineServiceDefinitionsPassTest.php | ||
IntegrationTest.php | ||
MergeExtensionConfigurationPassTest.php | ||
OptionalServiceClass.php | ||
PassConfigTest.php | ||
PriorityTaggedServiceTraitTest.php | ||
RegisterEnvVarProcessorsPassTest.php | ||
RegisterServiceSubscribersPassTest.php | ||
RemoveUnusedDefinitionsPassTest.php | ||
ReplaceAliasByActualDefinitionPassTest.php | ||
ResolveBindingsPassTest.php | ||
ResolveChildDefinitionsPassTest.php | ||
ResolveClassPassTest.php | ||
ResolveFactoryClassPassTest.php | ||
ResolveHotPathPassTest.php | ||
ResolveInstanceofConditionalsPassTest.php | ||
ResolveInvalidReferencesPassTest.php | ||
ResolveNamedArgumentsPassTest.php | ||
ResolveParameterPlaceHoldersPassTest.php | ||
ResolvePrivatesPassTest.php | ||
ResolveReferencesToAliasesPassTest.php | ||
ResolveTaggedIteratorArgumentPassTest.php | ||
ValidateEnvPlaceholdersPassTest.php |