Skip to content

adding the namespace for ArrayInput #7192

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

Closed
wants to merge 2 commits into from

Conversation

nodefortytwo
Copy link
Contributor

Makes the documentation a little cleaner, easier to copy

Makes the documentation a little cleaner, easier to copy
@@ -10,6 +10,9 @@ generating Doctrine2 proxies, dumping Assetic assets, ...).

Calling a command from another one is straightforward::

use Symfony\Component\Console\Input\ArrayInput
Copy link
Member

Choose a reason for hiding this comment

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

missing semicolon

@@ -10,6 +10,9 @@ generating Doctrine2 proxies, dumping Assetic assets, ...).

Calling a command from another one is straightforward::

use Symfony\Component\Console\Input\ArrayInput
// ...

protected function execute(InputInterface $input, OutputInterface $output)
Copy link
Member

Choose a reason for hiding this comment

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

If we do it for ArrayInput, shouldn't we do it for these too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't because they are standard to all commands, I included ArrayInput as its the first time (in my experience) the concept is introduced.

@xabbuh
Copy link
Member

xabbuh commented Dec 8, 2016

👍 I think it makes sense to document it this way. All other classes should indeed be known at this point.

Status: Reviewed

@xabbuh
Copy link
Member

xabbuh commented Dec 12, 2016

Thank you @nodefortytwo.

xabbuh added a commit that referenced this pull request Dec 12, 2016
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #7192).

Discussion
----------

adding the namespace for ArrayInput

Makes the documentation a little cleaner, easier to copy

Commits
-------

9e04c4c adding the namespace for ArrayInput
@xabbuh xabbuh closed this Dec 12, 2016
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.

4 participants