src/Prettus/Repository/Traits/CacheableRepository.php
public function getCacheRepository()
    {
        if (is_null($this->cacheRepository)) {
            $this->cacheRepository = app(config('repository.cache.repository', 'cache'));
        }

        return $this->cacheRepository;
    }
public function getCacheRepository()
    {
        if (is_null($this->cacheRepository)) {
            $this->cacheRepository = app(config('repository.cache.repository', 'cache'));
        }

        return $this->cacheRepository;
    }
public function getCacheRepository ( ) { if ( is_null ( $ this -> cacheRepository ) ) { $ this -> cacheRepository = app ( config ( 'repository.cache.repository' , 'cache' ) ) ; } return $ this -> cacheRepository ; }
Return instance of Cache Repository

@return CacheRepository
Return instance of Cache Repository