IMPORTANT: after calling this method, clients MUST call:
$dispatcher = $container->get('eventDispatcher');
$app->setDispatcher($dispatcher);
Any modification to the container should be done prior to fetching
objects from it.
It is recommended to use \Robo::createDefaultContainer()
instead, which does all required setup for the caller, but has
the limitation that the container it creates can only be
extended, not modified.
public static configureContainer ( League\Container\ContainerInterface $container, |
||
$container | League\Container\ContainerInterface | |
$app | ||
$config | robo\Config | |
$input | null | Symfony\Component\Console\Input\InputInterface | |
$output | null | Symfony\Component\Console\Output\OutputInterface |