Skip to content

Commit

Permalink
[#3697] Backporting 2.3-specific changes
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 20, 2014
1 parent 41b2eb8 commit 5d99d88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/console/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Creating a basic Command
To make a console command that greets you from the command line, create ``GreetCommand.php``
and add the following to it::

namespace Acme\Command;
namespace Acme\Console\Command;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
Expand Down Expand Up @@ -88,7 +88,7 @@ an ``Application`` and adds commands to it::
<?php
// application.php

use Acme\Command\GreetCommand;
use Acme\Console\Command\GreetCommand;
use Symfony\Component\Console\Application;

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

use Acme\Command\GreetCommand;
use Acme\Console\Command\GreetCommand;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

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

use Acme\Command\GreetCommand;
use Acme\Console\Command\GreetCommand;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

Expand Down

0 comments on commit 5d99d88

Please sign in to comment.