Skip to content

Commit

Permalink
fix(application): call handle with Request object
Browse files Browse the repository at this point in the history
  • Loading branch information
euskadi31 committed Mar 31, 2016
1 parent 428b6a2 commit 947892b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Provider/Console/Application.php
Expand Up @@ -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);

Expand Down

0 comments on commit 947892b

Please sign in to comment.