/**
  * @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());
 }