Skip to content

Commit 5a161d5

Browse files
committed
Merge branch '2.3' into 2.4
2 parents 15b813f + 5d99d88 commit 5a161d5

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();
@@ -415,7 +415,7 @@ useful one is the :class:`Symfony\\Component\\Console\\Tester\\CommandTester`
415415
class. It uses special input and output classes to ease testing without a real
416416
console::
417417

418-
use Acme\Command\GreetCommand;
418+
use Acme\Console\Command\GreetCommand;
419419
use Symfony\Component\Console\Application;
420420
use Symfony\Component\Console\Tester\CommandTester;
421421

@@ -444,7 +444,7 @@ You can test sending arguments and options to the command by passing them
444444
as an array to the :method:`Symfony\\Component\\Console\\Tester\\CommandTester::execute`
445445
method::
446446

447-
use Acme\Command\GreetCommand;
447+
use Acme\Console\Command\GreetCommand;
448448
use Symfony\Component\Console\Application;
449449
use Symfony\Component\Console\Tester\CommandTester;
450450

0 commit comments

Comments
 (0)