public function getSettings()
    {
        $lucid = $this->option('lucid');
        $settings = $this->getGeneralSettings();

        // If the --domain was passed, but not --lucid
        if ($this->option('domain') && ! $lucid) {
            return array_replace_recursive($settings, $this->getDomainMapMethod());
        }

        // If --lucid was passed
        if ($lucid) {
            $lucidSettings = array_merge($settings, $this->getLucidSettings());
            unset($lucidSettings['map_method']);
            return $lucidSettings;
        }

        // Return the default general settings
        return $settings;
    }
public function getSettings()
    {
        $lucid = $this->option('lucid');
        $settings = $this->getGeneralSettings();

        // If the --domain was passed, but not --lucid
        if ($this->option('domain') && ! $lucid) {
            return array_replace_recursive($settings, $this->getDomainMapMethod());
        }

        // If --lucid was passed
        if ($lucid) {
            $lucidSettings = array_merge($settings, $this->getLucidSettings());
            unset($lucidSettings['map_method']);
            return $lucidSettings;
        }

        // Return the default general settings
        return $settings;
    }
public function getSettings ( ) { $ lucid = $ this -> option ( 'lucid' ) ; $ settings = $ this -> getGeneralSettings ( ) ; // If the --domain was passed, but not --lucid if ( $ this -> option ( 'domain' ) && ! $ lucid ) { return array_replace_recursive ( $ settings , $ this -> getDomainMapMethod ( ) ) ; } // If --lucid was passed if ( $ lucid ) { $ lucidSettings = array_merge ( $ settings , $ this -> getLucidSettings ( ) ) ; unset ( $ lucidSettings [ 'map_method' ] ) ; return $ lucidSettings ; } // Return the default general settings return $ settings ; }
Get the necessary settings, override if necessary.

@return array|string
Get the necessary settings override if necessary .