/**
  * @param string $id
  *
  * @return AdminInterface
  */
 private function getAdmin($id)
 {
     return $this->adminPool->getContainer()->get($id);
 }
示例#2
0
 public function testGetContainer()
 {
     $this->assertInstanceOf('Symfony\\Component\\DependencyInjection\\ContainerInterface', $this->pool->getContainer());
 }