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

support for variadic arguments in constructor #3

Open
pjordaan opened this issue Sep 24, 2020 · 0 comments
Open

support for variadic arguments in constructor #3

pjordaan opened this issue Sep 24, 2020 · 0 comments

Comments

@pjordaan
Copy link
Owner

examples:

public function __construct(Object ...$variables) {
}

public function __construct(...$typeless) {
}

Should map $variables as 'Object[]' and $typeless as array. InstantiateObject should append the variadic arguments.

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

No branches or pull requests

1 participant