public function get($key)
    {
        $setting = $this->getSettingOrFail($key);

        $value = $this->backend->getSetting($key);

        return  is_null($value) ? $setting->default() : $value;
    }
public function get($key)
    {
        $setting = $this->getSettingOrFail($key);

        $value = $this->backend->getSetting($key);

        return  is_null($value) ? $setting->default() : $value;
    }
public function get ( $ key ) { $ setting = $ this -> getSettingOrFail ( $ key ) ; $ value = $ this -> backend -> getSetting ( $ key ) ; return is_null ( $ value ) ? $ setting -> default ( ) : $ value ; }
Returns the value of a setting

@param string $key

@return mixed
@throws UnregisteredSettingException
Returns the value of a setting