@@ -13,11 +13,11 @@ Consider for example the code used to display the title of the following command
1313 // src/Command/GreetCommand.php
1414 namespace App\Command;
1515
16- use Symfony\Bundle\FrameworkBundle \Command\ContainerAwareCommand ;
16+ use Symfony\Component\Console \Command\Command ;
1717 use Symfony\Component\Console\Input\InputInterface;
1818 use Symfony\Component\Console\Output\OutputInterface;
1919
20- class GreetCommand extends ContainerAwareCommand
20+ class GreetCommand extends Command
2121 {
2222 // ...
2323
@@ -53,12 +53,12 @@ title of the command::
5353 // src/Command/GreetCommand.php
5454 namespace App\Command;
5555
56- use Symfony\Bundle\FrameworkBundle \Command\ContainerAwareCommand ;
56+ use Symfony\Component\Console \Command\Command ;
5757 use Symfony\Component\Console\Style\SymfonyStyle;
5858 use Symfony\Component\Console\Input\InputInterface;
5959 use Symfony\Component\Console\Output\OutputInterface;
6060
61- class GreetCommand extends ContainerAwareCommand
61+ class GreetCommand extends Command
6262 {
6363 // ...
6464
@@ -355,10 +355,11 @@ of your commands to change their appearance::
355355 namespace App\Console;
356356
357357 use App\Console\CustomStyle;
358+ use Symfony\Component\Console\Command\Command;
358359 use Symfony\Component\Console\Input\InputInterface;
359360 use Symfony\Component\Console\Output\OutputInterface;
360361
361- class GreetCommand extends ContainerAwareCommand
362+ class GreetCommand extends Command
362363 {
363364 // ...
364365
0 commit comments