src/Graviton/GeneratorBundle/Command/GenerateDynamicBundleCommand.php
private function generateBundleBundleClass()
    {
        // add optional bundles if defined by parameter.
        if ($this->bundleAdditions !== null) {
            $this->bundleBundleGenerator->setAdditions($this->bundleAdditions);
        } else {
            $this->bundleBundleGenerator->setAdditions([]);
        }

        $this->bundleBundleGenerator->generate(
            $this->bundleBundleList,
            $this->bundleBundleNamespace,
            $this->bundleBundleClassname,
            $this->bundleBundleClassfile
        );
    }
private function generateBundleBundleClass()
    {
        // add optional bundles if defined by parameter.
        if ($this->bundleAdditions !== null) {
            $this->bundleBundleGenerator->setAdditions($this->bundleAdditions);
        } else {
            $this->bundleBundleGenerator->setAdditions([]);
        }

        $this->bundleBundleGenerator->generate(
            $this->bundleBundleList,
            $this->bundleBundleNamespace,
            $this->bundleBundleClassname,
            $this->bundleBundleClassfile
        );
    }
private function generateBundleBundleClass ( ) { // add optional bundles if defined by parameter. if ( $ this -> bundleAdditions !== null ) { $ this -> bundleBundleGenerator -> setAdditions ( $ this -> bundleAdditions ) ; } else { $ this -> bundleBundleGenerator -> setAdditions ( [ ] ) ; } $ this -> bundleBundleGenerator -> generate ( $ this -> bundleBundleList , $ this -> bundleBundleNamespace , $ this -> bundleBundleClassname , $ this -> bundleBundleClassfile ) ; }
Generates our BundleBundle for dynamic bundles.
It basically replaces the Bundle main class that got generated
by the Sensio bundle task and it includes all of our bundles there.

@return void
Generates our BundleBundle for dynamic bundles . It basically replaces the Bundle main class that got generated by the Sensio bundle task and it includes all of our bundles there .