Example #1
0
 public function indexAction()
 {
     $container = $this->getInvokeArg('bootstrap')->getContainer();
     $testService = $container->get('testService');
     $this->view->parameters = $container->getParameterBag()->all();
     $this->view->serviceIds = $container->getServiceIds();
     $this->view->testServiceOut1 = $testService->test();
     $this->view->testServiceOut2 = $this->_testService->test2();
 }
Example #2
0
 public function testTest2()
 {
     $this->assertContains('called from testService', $this->_testService->test2());
 }