code: public function method($method = NULL) {
          if ($method === NULL) {
              // Act as a getter
              return $this->_method;
          }
  
          // Act as a setter
          $this->_method = strtoupper($method);
  
          return $this;
      }
docs: Gets or sets the HTTP method. Usually GET, POST, PUT or DELETE in
  traditional CRUD applications.
  
  @param   string $method Method to use for this request
  @return  mixed