where('key_name', $key) ->where('settings_type', $settingsType)->first(); } catch (Exception $exception) { return null; } return (isset($config)) ? $config : null; } }