diff --git a/src/Provider/Console/Application.php b/src/Provider/Console/Application.php index 1baf85d..648150f 100644 --- a/src/Provider/Console/Application.php +++ b/src/Provider/Console/Application.php @@ -68,7 +68,10 @@ public function run(InputInterface $input = null, OutputInterface $output = null $request = new Request(); $this->setAutoExit(false); - $this->getContainer()->handle($request); + $this->getContainer()->boot(); + $this->getContainer()->flush(); + + $this->getContainer()['request_stack']->push($request); $exitCode = parent::run($input, $output);