original_string: public function clearCookie($domain = '-', $path = null)
      {
          if ($domain === null) {
              $this->_cookies = [];
          } else {
              $domain = strtolower($domain);
              if ($path === null) {
                  unset($this->_cookies[$domain]);
              } else {
                  if (isset($this->_cookies[$domain])) {
                      unset($this->_cookies[$domain][$path]);
                  }
              }
          }
      }
code: public function clearCookie($domain = '-', $path = null)
      {
          if ($domain === null) {
              $this->_cookies = [];
          } else {
              $domain = strtolower($domain);
              if ($path === null) {
                  unset($this->_cookies[$domain]);
              } else {
                  if (isset($this->_cookies[$domain])) {
                      unset($this->_cookies[$domain][$path]);
                  }
              }
          }
      }
code_tokens: public function clearCookie ( $ domain = '-' , $ path = null ) { if ( $ domain === null ) { $ this -> _cookies = [ ] ; } else { $ domain = strtolower ( $ domain ) ; if ( $ path === null ) { unset ( $ this -> _cookies [ $ domain ] ) ; } else { if ( isset ( $ this -> _cookies [ $ domain ] ) ) { unset ( $ this -> _cookies [ $ domain ] [ $ path ] ) ; } } } }
docstring: Clean all cookies
  @param string $domain use null to clean all cookies, '-' to clean current cookies.
  @param string $path
docstring_tokens: Clean all cookies