original_string: public function method($method = 'POST')
      {
          if (strtolower($method) == 'put') {
              $this->hidden('_method')->default($method);
  
              return $this;
          }
  
          return $this->attribute('method', strtoupper($method));
      }
code: public function method($method = 'POST')
      {
          if (strtolower($method) == 'put') {
              $this->hidden('_method')->default($method);
  
              return $this;
          }
  
          return $this->attribute('method', strtoupper($method));
      }
code_tokens: public function method ( $ method = 'POST' ) { if ( strtolower ( $ method ) == 'put' ) { $ this -> hidden ( '_method' ) -> default ( $ method ) ; return $ this ; } return $ this -> attribute ( 'method' , strtoupper ( $ method ) ) ; }
docstring: Method of the form.
  
  @param string $method
  
  @return $this
docstring_tokens: Method of the form .