BookStack\Services\SettingService::get PHP Method

get() public method

Gets a setting from the database, If not found, Returns default, Which is false by default.
public get ( $key, string | boolean $default = false ) : boolean | string
$key
$default string | boolean
return boolean | string
    public function get($key, $default = false)
    {
        $value = $this->getValueFromStore($key, $default);
        return $this->formatValue($value, $default);
    }