Library/Compiler.php
public function stubs($fromGenerate = false)
    {
        if (!$fromGenerate) {
            $this->generate();
        }

        $this->logger->info('Generating stubs...');
        $stubsGenerator = new Stubs\Generator($this->files, $this->config);

        $path = $this->config->get('path', 'stubs');
        $path = str_replace('%version%', $this->config->get('version'), $path);
        $path = str_replace('%namespace%', ucfirst($this->config->get('namespace')), $path);

        $stubsGenerator->generate($path);
    }
public function stubs($fromGenerate = false)
    {
        if (!$fromGenerate) {
            $this->generate();
        }

        $this->logger->info('Generating stubs...');
        $stubsGenerator = new Stubs\Generator($this->files, $this->config);

        $path = $this->config->get('path', 'stubs');
        $path = str_replace('%version%', $this->config->get('version'), $path);
        $path = str_replace('%namespace%', ucfirst($this->config->get('namespace')), $path);

        $stubsGenerator->generate($path);
    }
public function stubs ( $ fromGenerate = false ) { if ( ! $ fromGenerate ) { $ this -> generate ( ) ; } $ this -> logger -> info ( 'Generating stubs...' ) ; $ stubsGenerator = new Stubs \ Generator ( $ this -> files , $ this -> config ) ; $ path = $ this -> config -> get ( 'path' , 'stubs' ) ; $ path = str_replace ( '%version%' , $ this -> config -> get ( 'version' ) , $ path ) ; $ path = str_replace ( '%namespace%' , ucfirst ( $ this -> config -> get ( 'namespace' ) ) , $ path ) ; $ stubsGenerator -> generate ( $ path ) ; }
Generate IDE stubs.

@param bool $fromGenerate

@throws Exception
Generate IDE stubs .