Symfony\Bundle\FrameworkBundle\Client::getContainer PHP 메소드

getContainer() 공개 메소드

Returns the container.
public getContainer ( ) : Symfony\Component\DependencyInjection\ContainerInterface
리턴 Symfony\Component\DependencyInjection\ContainerInterface
    public function getContainer()
    {
        return $this->kernel->getContainer();
    }

Usage Example

예제 #1
1
 public function setUp()
 {
     $this->client = static::createClient();
     $this->client->followRedirects();
     $this->container = $this->client->getContainer();
     $this->loadFixtures($this->getFixtures());
 }
All Usage Examples Of Symfony\Bundle\FrameworkBundle\Client::getContainer