Example #1
0
 public function setupContainer(ContainerInterface $container)
 {
     parent::setupContainer($container);
     $container->setShared('tester', function ($c) {
         return new ApplicationTester($c->get('ui.application'));
     });
     $container->setShared('ui.shell', function ($c) {
         return new TestShell($c);
     });
     $container->setShared('dispatcher.listeners.test_application', function ($c) {
         return $c->get('ui.application');
     });
 }