protected function getOptionOrConfig($key)
    {
        if ($option = $this->option($key)) {
            return $option;
        }

        return $this->config->get("laroute.{$key}");
    }
protected function getOptionOrConfig($key)
    {
        if ($option = $this->option($key)) {
            return $option;
        }

        return $this->config->get("laroute.{$key}");
    }
protected function getOptionOrConfig ( $ key ) { if ( $ option = $ this -> option ( $ key ) ) { return $ option ; } return $ this -> config -> get ( "laroute.{$key}" ) ; }
Get an option value either from console input, or the config files.

@param $key

@return array|mixed|string
Get an option value either from console input or the config files .