@@ -35,7 +35,7 @@ Creating a basic Command
35
35
To make a console command that greets you from the command line, create ``GreetCommand.php ``
36
36
and add the following to it::
37
37
38
- namespace Acme\Command;
38
+ namespace Acme\Console\ Command;
39
39
40
40
use Symfony\Component\Console\Command\Command;
41
41
use Symfony\Component\Console\Input\InputArgument;
@@ -88,7 +88,7 @@ an ``Application`` and adds commands to it::
88
88
<?php
89
89
// application.php
90
90
91
- use Acme\Command\GreetCommand;
91
+ use Acme\Console\ Command\GreetCommand;
92
92
use Symfony\Component\Console\Application;
93
93
94
94
$application = new Application();
@@ -380,7 +380,7 @@ useful one is the :class:`Symfony\\Component\\Console\\Tester\\CommandTester`
380
380
class. It uses special input and output classes to ease testing without a real
381
381
console::
382
382
383
- use Acme\Command\GreetCommand;
383
+ use Acme\Console\ Command\GreetCommand;
384
384
use Symfony\Component\Console\Application;
385
385
use Symfony\Component\Console\Tester\CommandTester;
386
386
@@ -409,7 +409,7 @@ You can test sending arguments and options to the command by passing them
409
409
as an array to the :method: `Symfony\\ Component\\ Console\\ Tester\\ CommandTester::execute `
410
410
method::
411
411
412
- use Acme\Command\GreetCommand;
412
+ use Acme\Console\ Command\GreetCommand;
413
413
use Symfony\Component\Console\Application;
414
414
use Symfony\Component\Console\Tester\CommandTester;
415
415
0 commit comments