original_string: public function field(string $field, ...$rules): self
      {
          $this->validators[$field] = $this->parser->parse($rules);
          return $this;
      }
code: public function field(string $field, ...$rules): self
      {
          $this->validators[$field] = $this->parser->parse($rules);
          return $this;
      }
code_tokens: public function field ( string $ field , ... $ rules ) : self { $ this -> validators [ $ field ] = $ this -> parser -> parse ( $ rules ) ; return $ this ; }
docstring: Adds one or more rules to this builder.
  
  @param string $field The field to validate
  @param string|object|array $rules Either a string name, an associative
  array, or an object with name → arguments
  @return $this provides a fluent interface
docstring_tokens: Adds one or more rules to this builder .