src/SettingsImpl.php
public function get($key, $default = null, $save = false)
    {
        $this->load();

        if ($this->has($key)) {
            return Arr::get($this->settings, $key, $default);
        }

        if ($save) {
            $this->set($key, $default);
        }

        if ($this->config->has($key)) {
            return $this->config->get($key);
        }

        return $default;
    }
public function get($key, $default = null, $save = false)
    {
        $this->load();

        if ($this->has($key)) {
            return Arr::get($this->settings, $key, $default);
        }

        if ($save) {
            $this->set($key, $default);
        }

        if ($this->config->has($key)) {
            return $this->config->get($key);
        }

        return $default;
    }
public function get ( $ key , $ default = null , $ save = false ) { $ this -> load ( ) ; if ( $ this -> has ( $ key ) ) { return Arr :: get ( $ this -> settings , $ key , $ default ) ; } if ( $ save ) { $ this -> set ( $ key , $ default ) ; } if ( $ this -> config -> has ( $ key ) ) { return $ this -> config -> get ( $ key ) ; } return $ default ; }
Get setting by key

@param $key
@param null $default
@param bool $save
@return mixed
Get setting by key