src/Guzzle/Inflection/MemoizingInflector.php
protected function pruneCache($cache)
    {
        if (count($this->cache[$cache]) == $this->maxCacheSize) {
            $this->cache[$cache] = array_slice($this->cache[$cache], $this->maxCacheSize * 0.2);
        }
    }
protected function pruneCache($cache)
    {
        if (count($this->cache[$cache]) == $this->maxCacheSize) {
            $this->cache[$cache] = array_slice($this->cache[$cache], $this->maxCacheSize * 0.2);
        }
    }
protected function pruneCache ( $ cache ) { if ( count ( $ this -> cache [ $ cache ] ) == $ this -> maxCacheSize ) { $ this -> cache [ $ cache ] = array_slice ( $ this -> cache [ $ cache ] , $ this -> maxCacheSize * 0.2 ) ; } }
Prune one of the named caches by removing 20% of the cache if it is full

@param string $cache Type of cache to prune
Prune one of the named caches by removing 20% of the cache if it is full