Пример #1
0
 public function container()
 {
     $configuration = new TestConfiguration();
     $container = new ServiceContainer();
     $container->configure($configuration);
     $this->assert(isset($container->test), 'The service "test" should exist.');
 }
Пример #2
0
 public function viewHelpers()
 {
     $helpers = new ServiceContainer();
     $helpers->configure($this->viewHelperConfiguration);
     return $helpers;
 }