Skip to content

[WIP] PhpGenerator: Added support for variadics (PHP 5.6 feature) - #1414

Closed
Majkl578 wants to merge 1 commit into
nette:masterfrom
Majkl578:feature/php-5.6/phpgenerator
Closed

Majkl578 wants to merge 1 commit into
nette:masterfrom
Majkl578:feature/php-5.6/phpgenerator

Conversation

@Majkl578

Copy link
Copy Markdown
Contributor

Adds support for variadics which will arrive with 5.6.

@fprochazka

Copy link
Copy Markdown
Contributor

👍

1 similar comment
@Vrtak-CZ

Copy link
Copy Markdown
Contributor

👍

@enumag

enumag commented Feb 20, 2014

Copy link
Copy Markdown
Contributor

👍

@dg

dg commented Feb 20, 2014

Copy link
Copy Markdown
Member

setVariadic() for Parameter seems unnecessary, in the case of PHP generator.

@matej21

matej21 commented Feb 21, 2014

Copy link
Copy Markdown
Contributor

@dg: I think it could be used in generated factories (in the case there will be support for variadics in generated factories :))

@dg

dg commented Feb 22, 2014

Copy link
Copy Markdown
Member

@matej21 Method::setVariadic() is ok, just Parameter::setVariadic() seems unnecessary.

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.

7 participants