@@ -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();
@@ -415,7 +415,7 @@ useful one is the :class:`Symfony\\Component\\Console\\Tester\\CommandTester`
415
415
class. It uses special input and output classes to ease testing without a real
416
416
console::
417
417
418
- use Acme\Command\GreetCommand;
418
+ use Acme\Console\ Command\GreetCommand;
419
419
use Symfony\Component\Console\Application;
420
420
use Symfony\Component\Console\Tester\CommandTester;
421
421
@@ -444,7 +444,7 @@ You can test sending arguments and options to the command by passing them
444
444
as an array to the :method: `Symfony\\ Component\\ Console\\ Tester\\ CommandTester::execute `
445
445
method::
446
446
447
- use Acme\Command\GreetCommand;
447
+ use Acme\Console\ Command\GreetCommand;
448
448
use Symfony\Component\Console\Application;
449
449
use Symfony\Component\Console\Tester\CommandTester;
450
450
0 commit comments