BookStack\Services\SettingService::getSettingObjectByKey PHP Метод

getSettingObjectByKey() защищенный Метод

Gets a setting model from the database for the given key.
protected getSettingObjectByKey ( $key ) : mixed
$key
Результат mixed
    protected function getSettingObjectByKey($key)
    {
        return $this->setting->where('setting_key', '=', $key)->first();
    }