getContainerExtension() 공개 메소드

Returns the bundle's container extension.
public getContainerExtension ( ) : Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null
리턴 Symfony\Component\DependencyInjection\Extension\ExtensionInterface | null The container extension
예제 #1
0
 public static function addBundle(Bundle $bundle)
 {
     $extension = $bundle->getContainerExtension();
     if ($extension) {
         self::$extensions[] = $extension;
     }
     self::$bundlePaths[] = $bundle->getPath();
 }
예제 #2
0
 public function getContainerExtension()
 {
     $ex = parent::getContainerExtension();
     if ($ex != null) {
         $ex = new DependencyInjection\SandboxContainerExtension($ex, $this->serviceIds);
     }
     return $ex;
 }
 public function getContainerExtension()
 {
     return parent::getContainerExtension();
 }
예제 #4
0
 /**
  * @return \Symfony\Component\DependencyInjection\Extension\ExtensionInterface
  */
 public function getContainerExtension()
 {
     $this->extension = new Extension($this->alias);
     return parent::getContainerExtension();
 }