Thanks to visit codestin.com
Credit goes to github.com

Skip to content

added example on how to use InputArgument::IS_ARRAY, added overview of a... #2689

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

Merged
merged 3 commits into from
Jun 4, 2013

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Jun 3, 2013

...ll three argument variants

Q A
Doc fix? yes
New docs? no
Applies to all
Fixed tickets #2686

You can now access the ``names`` argument as an array::

if ($names = $input->getArgument('names')) {
$text .= ''.implode(', ', $names);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

''. is quite useless...

weaverryan added a commit that referenced this pull request Jun 4, 2013
added example on how to use InputArgument::IS_ARRAY, added overview of a...
@weaverryan weaverryan merged commit ba7fda0 into symfony:2.1 Jun 4, 2013
@weaverryan
Copy link
Member

Really really nicely done @xabbuh! Thanks so much for volunteering to do this so quickly.

Thanks!

@xabbuh xabbuh deleted the issue-2686 branch June 4, 2013 08:08
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

Successfully merging this pull request may close these issues.

3 participants