original_string: public function head($uri = null, $expectedStatus = null)
      {
          $this->setMethod('HEAD');
          $this->setUri($uri);
          if (!is_null($expectedStatus)) {
              $this->expectingStatusCode($expectedStatus);
          }
  
          return $this;
      }
code: public function head($uri = null, $expectedStatus = null)
      {
          $this->setMethod('HEAD');
          $this->setUri($uri);
          if (!is_null($expectedStatus)) {
              $this->expectingStatusCode($expectedStatus);
          }
  
          return $this;
      }
code_tokens: public function head ( $ uri = null , $ expectedStatus = null ) { $ this -> setMethod ( 'HEAD' ) ; $ this -> setUri ( $ uri ) ; if ( ! is_null ( $ expectedStatus ) ) { $ this -> expectingStatusCode ( $ expectedStatus ) ; } return $ this ; }
docstring: Set the HTTP method to HEAD and the uri if any.
  
  Return $this for a fluent interface.
  
  @param string|null $uri
  @param integer|null $expectedStatus
  @return $this
docstring_tokens: Set the HTTP method to HEAD and the uri if any .