original_string: public function addValidator(Zend_Validate_Interface $validator, $breakChainOnFailure = false)
      {
          $this->_validators[] = array(
              'instance' => $validator,
              'breakChainOnFailure' => (boolean) $breakChainOnFailure
              );
          return $this;
      }
code: public function addValidator(Zend_Validate_Interface $validator, $breakChainOnFailure = false)
      {
          $this->_validators[] = array(
              'instance' => $validator,
              'breakChainOnFailure' => (boolean) $breakChainOnFailure
              );
          return $this;
      }
code_tokens: public function addValidator ( Zend_Validate_Interface $ validator , $ breakChainOnFailure = false ) { $ this -> _validators [ ] = array ( 'instance' => $ validator , 'breakChainOnFailure' => ( boolean ) $ breakChainOnFailure ) ; return $ this ; }
docstring: Adds a validator to the end of the chain
  
  If $breakChainOnFailure is true, then if the validator fails, the next validator in the chain,
  if one exists, will not be executed.
  
  @param  Zend_Validate_Interface $validator
  @param  boolean                 $breakChainOnFailure
  @return Zend_Validate Provides a fluent interface
docstring_tokens: Adds a validator to the end of the chain