original_string: public function unsetCookie($name, $path = '/')
      {
          setcookie($name, '', time() - 86400, '/', '', 0);
          if (isset($_COOKIE) && isset($_COOKIE[$name])) {
              unset($_COOKIE[$name]);
          }
          if (isset($this->request->cookie[$name])) {
              unset($this->request->cookie[$name]);
          }
      }
code: public function unsetCookie($name, $path = '/')
      {
          setcookie($name, '', time() - 86400, '/', '', 0);
          if (isset($_COOKIE) && isset($_COOKIE[$name])) {
              unset($_COOKIE[$name]);
          }
          if (isset($this->request->cookie[$name])) {
              unset($this->request->cookie[$name]);
          }
      }
code_tokens: public function unsetCookie ( $ name , $ path = '/' ) { setcookie ( $ name , '' , time ( ) - 86400 , '/' , '' , 0 ) ; if ( isset ( $ _COOKIE ) && isset ( $ _COOKIE [ $ name ] ) ) { unset ( $ _COOKIE [ $ name ] ) ; } if ( isset ( $ this -> request -> cookie [ $ name ] ) ) { unset ( $ this -> request -> cookie [ $ name ] ) ; } }
docstring: Unsets a cookie value by setting it to expire
  @param string $name The cookie name
  @param string path The path to clear, defaults to /
docstring_tokens: Unsets a cookie value by setting it to expire