public function flushCache()
    {
        // Cache disabled, just ignore this
        if ($this->eventFlushCache === false || config('repositories.cache_enabled', false) === false) {
            return false;
        }

        // Use the called class name as the tag
        $tag = get_called_class();

        return self::getCacheInstance()->tags(['repositories', $tag])->flush();
    }
public function flushCache()
    {
        // Cache disabled, just ignore this
        if ($this->eventFlushCache === false || config('repositories.cache_enabled', false) === false) {
            return false;
        }

        // Use the called class name as the tag
        $tag = get_called_class();

        return self::getCacheInstance()->tags(['repositories', $tag])->flush();
    }
public function flushCache ( ) { // Cache disabled, just ignore this if ( $ this -> eventFlushCache === false || config ( 'repositories.cache_enabled' , false ) === false ) { return false ; } // Use the called class name as the tag $ tag = get_called_class ( ) ; return self :: getCacheInstance ( ) -> tags ( [ 'repositories' , $ tag ] ) -> flush ( ) ; }
Flush the cache for the given repository.

@return bool
Flush the cache for the given repository .