protected function registerBundleDependencies(ContainerBuilder $container)
    {
        if (true === $this->booted) {
            return;
        }

        $this->bundles = $container->getParameter('kernel.bundles');

        if ($this->createBundles($this->getBundleDependencies())) {
            $container->setParameter('kernel.bundles', $this->bundles);

            $this->initializeBundles($container);

            $pass = new Compiler\ExtensionLoadPass($this->instances);

            $container->addCompilerPass($pass);
        }

        $this->booted = true;
    }
protected function registerBundleDependencies(ContainerBuilder $container)
    {
        if (true === $this->booted) {
            return;
        }

        $this->bundles = $container->getParameter('kernel.bundles');

        if ($this->createBundles($this->getBundleDependencies())) {
            $container->setParameter('kernel.bundles', $this->bundles);

            $this->initializeBundles($container);

            $pass = new Compiler\ExtensionLoadPass($this->instances);

            $container->addCompilerPass($pass);
        }

        $this->booted = true;
    }
protected function registerBundleDependencies ( ContainerBuilder $ container ) { if ( true === $ this -> booted ) { return ; } $ this -> bundles = $ container -> getParameter ( 'kernel.bundles' ) ; if ( $ this -> createBundles ( $ this -> getBundleDependencies ( ) ) ) { $ container -> setParameter ( 'kernel.bundles' , $ this -> bundles ) ; $ this -> initializeBundles ( $ container ) ; $ pass = new Compiler \ ExtensionLoadPass ( $ this -> instances ) ; $ container -> addCompilerPass ( $ pass ) ; } $ this -> booted = true ; }
Register the bundle dependencies.

@param ContainerBuilder $container
Register the bundle dependencies .