Skip to content

Commit 5d99d88

Browse files
committed
[#3697] Backporting 2.3-specific changes
1 parent 41b2eb8 commit 5d99d88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/console/introduction.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Creating a basic Command
3535
To make a console command that greets you from the command line, create ``GreetCommand.php``
3636
and add the following to it::
3737

38-
namespace Acme\Command;
38+
namespace Acme\Console\Command;
3939

4040
use Symfony\Component\Console\Command\Command;
4141
use Symfony\Component\Console\Input\InputArgument;
@@ -88,7 +88,7 @@ an ``Application`` and adds commands to it::
8888
<?php
8989
// application.php
9090

91-
use Acme\Command\GreetCommand;
91+
use Acme\Console\Command\GreetCommand;
9292
use Symfony\Component\Console\Application;
9393

9494
$application = new Application();
@@ -380,7 +380,7 @@ useful one is the :class:`Symfony\\Component\\Console\\Tester\\CommandTester`
380380
class. It uses special input and output classes to ease testing without a real
381381
console::
382382

383-
use Acme\Command\GreetCommand;
383+
use Acme\Console\Command\GreetCommand;
384384
use Symfony\Component\Console\Application;
385385
use Symfony\Component\Console\Tester\CommandTester;
386386

@@ -409,7 +409,7 @@ You can test sending arguments and options to the command by passing them
409409
as an array to the :method:`Symfony\\Component\\Console\\Tester\\CommandTester::execute`
410410
method::
411411

412-
use Acme\Command\GreetCommand;
412+
use Acme\Console\Command\GreetCommand;
413413
use Symfony\Component\Console\Application;
414414
use Symfony\Component\Console\Tester\CommandTester;
415415

0 commit comments

Comments
 (0)