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