public function reset($formName = false)
    {
        if (is_bool($formName))
            $formName = $this->currentFormName;

        if (array_key_exists($formName, $this->validationRules)) {
            $this->validationRules[$formName] = [];
        }
    }
public function reset($formName = false)
    {
        if (is_bool($formName))
            $formName = $this->currentFormName;

        if (array_key_exists($formName, $this->validationRules)) {
            $this->validationRules[$formName] = [];
        }
    }
public function reset ( $ formName = false ) { if ( is_bool ( $ formName ) ) $ formName = $ this -> currentFormName ; if ( array_key_exists ( $ formName , $ this -> validationRules ) ) { $ this -> validationRules [ $ formName ] = [ ] ; } }
Reset validation rules.

@param string|bool $formName Form name
Reset validation rules .