library/Garp/Cli/Command/Spawn.php
protected function _spawn() {
        $filter = $this->getFilter();

        $dbShouldSpawn        = $filter->shouldSpawnDb();
        $jsShouldSpawn        = $filter->shouldSpawnJs();
        $phpShouldSpawn       = $filter->shouldSpawnPhp();
        $someFilesShouldSpawn = $jsShouldSpawn || $phpShouldSpawn;

        if ($someFilesShouldSpawn) {
            $this->_spawnFiles();
        }

        if ($this->getFeedback()->isInteractive()) {
            Garp_Cli::lineOut("\n");
        }

        if ($dbShouldSpawn) {
            $this->_spawnDb();
        };
    }
protected function _spawn() {
        $filter = $this->getFilter();

        $dbShouldSpawn        = $filter->shouldSpawnDb();
        $jsShouldSpawn        = $filter->shouldSpawnJs();
        $phpShouldSpawn       = $filter->shouldSpawnPhp();
        $someFilesShouldSpawn = $jsShouldSpawn || $phpShouldSpawn;

        if ($someFilesShouldSpawn) {
            $this->_spawnFiles();
        }

        if ($this->getFeedback()->isInteractive()) {
            Garp_Cli::lineOut("\n");
        }

        if ($dbShouldSpawn) {
            $this->_spawnDb();
        };
    }
protected function _spawn ( ) { $ filter = $ this -> getFilter ( ) ; $ dbShouldSpawn = $ filter -> shouldSpawnDb ( ) ; $ jsShouldSpawn = $ filter -> shouldSpawnJs ( ) ; $ phpShouldSpawn = $ filter -> shouldSpawnPhp ( ) ; $ someFilesShouldSpawn = $ jsShouldSpawn || $ phpShouldSpawn ; if ( $ someFilesShouldSpawn ) { $ this -> _spawnFiles ( ) ; } if ( $ this -> getFeedback ( ) -> isInteractive ( ) ) { Garp_Cli :: lineOut ( "\n" ) ; } if ( $ dbShouldSpawn ) { $ this -> _spawnDb ( ) ; } ; }
Spawn JS and PHP files and the database structure.

@return void
Spawn JS and PHP files and the database structure .