public function fire()
    {
        $dbSocket = $this->option('db-socket');
        $dbHost   = $this->option('db-host');
        $dbName   = $this->option('db-name');

        if (! is_null($dbName) && (is_null($dbSocket) && is_null($dbHost))) {
            $this->error("Option '--db-name' requires at least one of: '--db-socket' OR '--db-host' to be defined.");
            return;
        }

        $configurator = new Configurator($this);
        $configurator->configure(
            $this->argument('app-id'),
            $this->option('config'),
            $this->option('cache-config'),
            $this->option('bucket'),
            $this->option('db-socket'),
            $this->option('db-name'),
            $this->option('db-host')
        );
    }
public function fire()
    {
        $dbSocket = $this->option('db-socket');
        $dbHost   = $this->option('db-host');
        $dbName   = $this->option('db-name');

        if (! is_null($dbName) && (is_null($dbSocket) && is_null($dbHost))) {
            $this->error("Option '--db-name' requires at least one of: '--db-socket' OR '--db-host' to be defined.");
            return;
        }

        $configurator = new Configurator($this);
        $configurator->configure(
            $this->argument('app-id'),
            $this->option('config'),
            $this->option('cache-config'),
            $this->option('bucket'),
            $this->option('db-socket'),
            $this->option('db-name'),
            $this->option('db-host')
        );
    }
public function fire ( ) { $ dbSocket = $ this -> option ( 'db-socket' ) ; $ dbHost = $ this -> option ( 'db-host' ) ; $ dbName = $ this -> option ( 'db-name' ) ; if ( ! is_null ( $ dbName ) && ( is_null ( $ dbSocket ) && is_null ( $ dbHost ) ) ) { $ this -> error ( "Option '--db-name' requires at least one of: '--db-socket' OR '--db-host' to be defined." ) ; return ; } $ configurator = new Configurator ( $ this ) ; $ configurator -> configure ( $ this -> argument ( 'app-id' ) , $ this -> option ( 'config' ) , $ this -> option ( 'cache-config' ) , $ this -> option ( 'bucket' ) , $ this -> option ( 'db-socket' ) , $ this -> option ( 'db-name' ) , $ this -> option ( 'db-host' ) ) ; }
Execute the console command.
For backward compatibility.

@return mixed
Execute the console command . For backward compatibility .