Skip to content
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

Add support for variadic arguments #624

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

tssge
Copy link

@tssge tssge commented Sep 6, 2018

This closes #619

This pull request is probably missing a lot of things, as I am not completely familiar with PHP-DI source yet. Please feel free to comment on what I could improve.

These changes pass all tests and a new test was added to support the new behavior.

@mnapoli
Copy link
Member

mnapoli commented Sep 18, 2018

You seem to have errors in code formatting (https://github.com/PHP-DI/PHP-DI/pull/624/checks). Could you fix them? And you will probably need to merge master in your branch because of an update in Symfony's coding style.

This makes ParameterResolver resolve variadic arguments correctly
Forgot to build container
Fix the test values index, I'm blind
@tssge
Copy link
Author

tssge commented Sep 18, 2018

Thank you for your feedback, I have fixed the formatting now

@zelgerj
Copy link

zelgerj commented Jan 13, 2020

Hello, i would be interested about the status of this, since I also faced the same issue with variadic arguments. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for variadic arguments
3 participants