original_string: public function forget(string $key): bool
      {
          $key = $this->hashKey($key);
          if (\array_key_exists($key, $this->cache)) {
              unset($this->cache[$key]);
              return true;
          }
          return false;
      }
code: public function forget(string $key): bool
      {
          $key = $this->hashKey($key);
          if (\array_key_exists($key, $this->cache)) {
              unset($this->cache[$key]);
              return true;
          }
          return false;
      }
code_tokens: public function forget ( string $ key ) : bool { $ key = $ this -> hashKey ( $ key ) ; if ( \ array_key_exists ( $ key , $ this -> cache ) ) { unset ( $ this -> cache [ $ key ] ) ; return true ; } return false ; }
docstring: Clear the cache for the given key
  Returns true on success or false on failure.
  
  @param string $key
  @return bool
  @internal param string $url
docstring_tokens: Clear the cache for the given key Returns true on success or false on failure .