src/Traits/MicroServiceCacheTrait.php
protected function getOriginalCacheKeyValue(Cacheable $model, $attributeCacheKey)
    {
        // Bail out if the model is not an eloquent model.
        if (!$model instanceof Model) {
            return null;
        }

        return empty($model->getOriginal($attributeCacheKey)) ? null : $model->getOriginal($attributeCacheKey);
    }
protected function getOriginalCacheKeyValue(Cacheable $model, $attributeCacheKey)
    {
        // Bail out if the model is not an eloquent model.
        if (!$model instanceof Model) {
            return null;
        }

        return empty($model->getOriginal($attributeCacheKey)) ? null : $model->getOriginal($attributeCacheKey);
    }
protected function getOriginalCacheKeyValue ( Cacheable $ model , $ attributeCacheKey ) { // Bail out if the model is not an eloquent model. if ( ! $ model instanceof Model ) { return null ; } return empty ( $ model -> getOriginal ( $ attributeCacheKey ) ) ? null : $ model -> getOriginal ( $ attributeCacheKey ) ; }
Get original cache key value.

@param Cacheable $model
@param $attributeCacheKey
@return mixed|null
Get original cache key value .