public function validate($validate)
    {
        $this->_table->getValidator($validate);
        $this->_options['validate'] = $validate;

        return $this;
    }
public function validate($validate)
    {
        $this->_table->getValidator($validate);
        $this->_options['validate'] = $validate;

        return $this;
    }
public function validate ( $ validate ) { $ this -> _table -> getValidator ( $ validate ) ; $ this -> _options [ 'validate' ] = $ validate ; return $ this ; }
Set the validation rule set to use.

@param string $validate Name of the validation rule set to use.
@return \Cake\ORM\SaveOptionsBuilder
Set the validation rule set to use .