toArray(); } if (is_array($key)) { App::make(Setting::class)->save($key); return ''; } $default = config('v2board.'. $key) ?? $default; return App::make(Setting::class)->get($key) ?? $default ; } }