src/Rocketeer/Console/Commands/AbstractCommand.php
protected function prepareEnvironment()
    {
        // Bind command to container
        $this->container->add('command', $this);

        // Set active connections from flag
        if ($connections = $this->command->option('on')) {
            $this->connections->setActiveConnections($connections);
        }

        // Install and load plugins if not setup already
        $vendor = $this->paths->getRocketeerPath().DS.'vendor';
        if (!$this->files->has($vendor)) {
            $this->queue->execute(Installer::class);
            $this->bootstrapper->bootstrapRocketeerDependencies();
            $this->bootstrapper->bootstrapUserCode();
        }
    }
protected function prepareEnvironment()
    {
        // Bind command to container
        $this->container->add('command', $this);

        // Set active connections from flag
        if ($connections = $this->command->option('on')) {
            $this->connections->setActiveConnections($connections);
        }

        // Install and load plugins if not setup already
        $vendor = $this->paths->getRocketeerPath().DS.'vendor';
        if (!$this->files->has($vendor)) {
            $this->queue->execute(Installer::class);
            $this->bootstrapper->bootstrapRocketeerDependencies();
            $this->bootstrapper->bootstrapUserCode();
        }
    }
protected function prepareEnvironment ( ) { // Bind command to container $ this -> container -> add ( 'command' , $ this ) ; // Set active connections from flag if ( $ connections = $ this -> command -> option ( 'on' ) ) { $ this -> connections -> setActiveConnections ( $ connections ) ; } // Install and load plugins if not setup already $ vendor = $ this -> paths -> getRocketeerPath ( ) . DS . 'vendor' ; if ( ! $ this -> files -> has ( $ vendor ) ) { $ this -> queue -> execute ( Installer :: class ) ; $ this -> bootstrapper -> bootstrapRocketeerDependencies ( ) ; $ this -> bootstrapper -> bootstrapUserCode ( ) ; } }
Prepare the environment.
Prepare the environment .