public function removeAllValidation()
    {
        if ($this->form) {
            foreach ($this->constraints as $fieldName => $constraints) {
                foreach ($constraints as $constraint) {
                    $constraint->removeParsley();
                    unset($constraint);
                }
            }
        }
        $this->constraints = array();
    }
public function removeAllValidation()
    {
        if ($this->form) {
            foreach ($this->constraints as $fieldName => $constraints) {
                foreach ($constraints as $constraint) {
                    $constraint->removeParsley();
                    unset($constraint);
                }
            }
        }
        $this->constraints = array();
    }
public function removeAllValidation ( ) { if ( $ this -> form ) { foreach ( $ this -> constraints as $ fieldName => $ constraints ) { foreach ( $ constraints as $ constraint ) { $ constraint -> removeParsley ( ) ; unset ( $ constraint ) ; } } } $ this -> constraints = array ( ) ; }
Removes all constraints from this validator.
Removes all constraints from this validator .