Skip to content

Commit 0d1696c

Browse files
authored
[Console] Replace useless usage of ContainerAwareCommand
1 parent 127b35d commit 0d1696c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

console/request_context.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ router service and override its settings::
7878
use Symfony\Component\Routing\RouterInterface;
7979
// ...
8080

81-
class DemoCommand extends ContainerAwareCommand
81+
class DemoCommand extends Command
8282
{
8383
private $router;
8484

8585
public function __construct(RouterInterface $router)
8686
{
87+
parent::__construct();
88+
8789
$this->router = $router;
8890
}
8991

0 commit comments

Comments
 (0)