public function forget($key)
    {
        $isDeleted = SettingModel::where('key', $key)
            ->delete();

        // if delete record then delete cache
        if ($isDeleted) {
            Cache::forget('Klaravel\Settings\Setting');
        }

        return $isDeleted;
    }
public function forget($key)
    {
        $isDeleted = SettingModel::where('key', $key)
            ->delete();

        // if delete record then delete cache
        if ($isDeleted) {
            Cache::forget('Klaravel\Settings\Setting');
        }

        return $isDeleted;
    }
public function forget ( $ key ) { $ isDeleted = SettingModel :: where ( 'key' , $ key ) -> delete ( ) ; // if delete record then delete cache if ( $ isDeleted ) { Cache :: forget ( 'Klaravel\Settings\Setting' ) ; } return $ isDeleted ; }
Delete setting data from databasse

@param  string $key
@return boolean
Delete setting data from databasse