-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for named arguments in service definitions #998
Labels
Comments
Haehnchen
added a commit
that referenced
this issue
Oct 27, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 27, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 28, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 28, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 28, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 28, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 31, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 31, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 31, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 31, 2017
Haehnchen
added a commit
that referenced
this issue
Oct 31, 2017
add support for named arguments #998
The completion for $arg keys is not working for me in YAML services config. Is that implemented yet? |
yaml service. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For autowired services, Symfony 3.3+ supports using named arguments when one of the argument must be wired manually, instead of positional arguments:
Currently, the bundle validates this against the type of the first argument, which is the wrong check.
note that named arguments are triggered for keys starting with a
$
. String keys not starting with a$
have no special meaning (and are deprecated)The text was updated successfully, but these errors were encountered: