-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
DependencyInjectionFeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.
Description
return function(ContainerConfigurator $configurator) {
$services = $configurator->services()
->defaults()
->bind(Foo::class.' $foo', inline_service(Foo::class))
;
};
Currently it throws Invalid binding for service "": named arguments must start with a "$", and FQCN must map to references. Neither applies to binding "Foo $foo"
, while binding inline service just by name works.
Metadata
Metadata
Assignees
Labels
DependencyInjectionFeatureHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.