src/Kunstmaan/GeneratorBundle/Generator/LayoutGenerator.php
public function generate(BundleInterface $bundle, $rootDir, $demosite, $browserSyncUrl)
    {
        $this->bundle = $bundle;
        $this->rootDir = $rootDir;
        $this->demosite = $demosite;
        $this->browserSyncUrl = $browserSyncUrl;

        $this->shortBundleName = '@'.str_replace('Bundle', '', $bundle->getName());

        $this->generateGroundcontrolFiles();
        $this->generateAssets();
        $this->generateTemplate();
    }
public function generate(BundleInterface $bundle, $rootDir, $demosite, $browserSyncUrl)
    {
        $this->bundle = $bundle;
        $this->rootDir = $rootDir;
        $this->demosite = $demosite;
        $this->browserSyncUrl = $browserSyncUrl;

        $this->shortBundleName = '@'.str_replace('Bundle', '', $bundle->getName());

        $this->generateGroundcontrolFiles();
        $this->generateAssets();
        $this->generateTemplate();
    }
public function generate ( BundleInterface $ bundle , $ rootDir , $ demosite , $ browserSyncUrl ) { $ this -> bundle = $ bundle ; $ this -> rootDir = $ rootDir ; $ this -> demosite = $ demosite ; $ this -> browserSyncUrl = $ browserSyncUrl ; $ this -> shortBundleName = '@' . str_replace ( 'Bundle' , '' , $ bundle -> getName ( ) ) ; $ this -> generateGroundcontrolFiles ( ) ; $ this -> generateAssets ( ) ; $ this -> generateTemplate ( ) ; }
Generate the basic layout.

@param BundleInterface $bundle  The bundle
@param string          $rootDir The root directory of the application
Generate the basic layout .