original_string: public function removeConstraint($fieldName, $constraintName)
      {
          if ($constraint = $this->getConstraint($fieldName, $constraintName)) {
              if ($this->form) {
                  $constraint->removeParsley();
              }
              $class = get_class($constraint);
              unset($this->constraints[$fieldName][$class]);
              unset($constraint);
          }
  
          return $this;
      }
code: public function removeConstraint($fieldName, $constraintName)
      {
          if ($constraint = $this->getConstraint($fieldName, $constraintName)) {
              if ($this->form) {
                  $constraint->removeParsley();
              }
              $class = get_class($constraint);
              unset($this->constraints[$fieldName][$class]);
              unset($constraint);
          }
  
          return $this;
      }
code_tokens: public function removeConstraint ( $ fieldName , $ constraintName ) { if ( $ constraint = $ this -> getConstraint ( $ fieldName , $ constraintName ) ) { if ( $ this -> form ) { $ constraint -> removeParsley ( ) ; } $ class = get_class ( $ constraint ) ; unset ( $ this -> constraints [ $ fieldName ] [ $ class ] ) ; unset ( $ constraint ) ; } return $ this ; }
docstring: remove a constraint from a field
  
  @param string $field - name of the field to have a constraint removed from
  @param string $constraintName - class name of constraint
  @return $this
docstring_tokens: remove a constraint from a field