Skip to content

Commit 4f656f2

Browse files
authored
fixing bad class
1 parent 2def992 commit 4f656f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

console.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@ as a service, you can use normal dependency injection. Imagine you have a
174174
``AppBundle\Service\UserManager`` service that you want to access::
175175

176176
// ...
177+
use Symfony\Component\Console\Command\Command;
177178
use AppBundle\Service\UserManager;
178179

179-
class CreateUserCommand extends ContainerAwareCommand
180+
class CreateUserCommand extends Command
180181
{
181182
private $userManager;
182183

0 commit comments

Comments
 (0)