original_string: public function validate($validate)
      {
          $this->_table->getValidator($validate);
          $this->_options['validate'] = $validate;
  
          return $this;
      }
code: public function validate($validate)
      {
          $this->_table->getValidator($validate);
          $this->_options['validate'] = $validate;
  
          return $this;
      }
code_tokens: public function validate ( $ validate ) { $ this -> _table -> getValidator ( $ validate ) ; $ this -> _options [ 'validate' ] = $ validate ; return $ this ; }
docstring: Set the validation rule set to use.
  
  @param string $validate Name of the validation rule set to use.
  @return \Cake\ORM\SaveOptionsBuilder
docstring_tokens: Set the validation rule set to use .