original_string: protected function setCache($key, $value) {
          $this->logger->debug('LRUcache: set to key' . $key);
          $this->cache[$key] = $value;
          if (count($this->cache) > $this->cacheSize) {
              array_shift($this->cache);
          }
      }
code: protected function setCache($key, $value) {
          $this->logger->debug('LRUcache: set to key' . $key);
          $this->cache[$key] = $value;
          if (count($this->cache) > $this->cacheSize) {
              array_shift($this->cache);
          }
      }
code_tokens: protected function setCache ( $ key , $ value ) { $ this -> logger -> debug ( 'LRUcache: set to key' . $ key ) ; $ this -> cache [ $ key ] = $ value ; if ( count ( $ this -> cache ) > $ this -> cacheSize ) { array_shift ( $ this -> cache ) ; } }
docstring: LRU cashe set
docstring_tokens: LRU cashe set