public function getValue($name, $default = null)
    {
        $setting = $this->get($name);

        if ($setting) {
            return $setting->getValue();
        }

        return $default;
    }
public function getValue($name, $default = null)
    {
        $setting = $this->get($name);

        if ($setting) {
            return $setting->getValue();
        }

        return $default;
    }
public function getValue ( $ name , $ default = null ) { $ setting = $ this -> get ( $ name ) ; if ( $ setting ) { return $ setting -> getValue ( ) ; } return $ default ; }
Get setting value by current active profiles setting.

@param string $name
@param bool $default

@return string|array|bool
Get setting value by current active profiles setting .