Skip to content

Commit

Permalink
Instantiate shell to allow setting config
Browse files Browse the repository at this point in the history
  • Loading branch information
navitronic committed Mar 3, 2015
1 parent 0ef98d6 commit 0804b2a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Navitronic/PsymfBundle/Command/ReplCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ protected function execute(InputInterface $input, OutputInterface $output)
$application->setCatchExceptions(false);
$application->setAutoExit(false);
$container = $this->getContainer();
$result = \Psy\Shell::debug(['container' => $container]);

$shell = new Shell();

$shell->debug([
'container' => $container,
'kernel' => $container->get('kernel'),
'parameters' => $container->getParameterBag()->all(),
]);
}
}

0 comments on commit 0804b2a

Please sign in to comment.