src/Traits/MicroServiceCacheTrait.php
public function cacheForget(Cacheable $model)
    {
        // Clear the cache for each key.
        foreach ($this->getModelCacheKeys($model) as $cacheKey) {
            Cache::forget($cacheKey);
        }

        return true;
    }
public function cacheForget(Cacheable $model)
    {
        // Clear the cache for each key.
        foreach ($this->getModelCacheKeys($model) as $cacheKey) {
            Cache::forget($cacheKey);
        }

        return true;
    }
public function cacheForget ( Cacheable $ model ) { // Clear the cache for each key. foreach ( $ this -> getModelCacheKeys ( $ model ) as $ cacheKey ) { Cache :: forget ( $ cacheKey ) ; } return true ; }
Attempt to forget items from the cache for a given model.

@param Cacheable $model
@return bool
Attempt to forget items from the cache for a given model .