Skip to content

Commit 9e04c4c

Browse files
nodefortytwoxabbuh
authored andcommitted
adding the namespace for ArrayInput
1 parent dff5ba2 commit 9e04c4c

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)