Skip to content

Commit 69ef27d

Browse files
committed
minor #7192 adding the namespace for ArrayInput (nodefortytwo)
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
2 parents dff5ba2 + 9e04c4c commit 69ef27d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

console/calling_commands.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ generating Doctrine2 proxies, dumping Assetic assets, ...).
1010

1111
Calling a command from another one is straightforward::
1212

13+
use Symfony\Component\Console\Input\ArrayInput;
14+
// ...
15+
1316
protected function execute(InputInterface $input, OutputInterface $output)
1417
{
1518
$command = $this->getApplication()->find('demo:greet');

0 commit comments

Comments
 (0)