original_string: public function get(string $key)
      {
          $key = $this->hashKey($key);
          if (\array_key_exists($key, $this->cache)) {
              $this->hits++;
              return $this->cache[$key];
          }
          $this->misses++;
          return null;
      }
code: public function get(string $key)
      {
          $key = $this->hashKey($key);
          if (\array_key_exists($key, $this->cache)) {
              $this->hits++;
              return $this->cache[$key];
          }
          $this->misses++;
          return null;
      }
code_tokens: public function get ( string $ key ) { $ key = $ this -> hashKey ( $ key ) ; if ( \ array_key_exists ( $ key , $ this -> cache ) ) { $ this -> hits ++ ; return $ this -> cache [ $ key ] ; } $ this -> misses ++ ; return null ; }
docstring: Retrieve an item from the cache.
  @param $key string
  @return mixed
docstring_tokens: Retrieve an item from the cache .