public function removeValidator(ValidatorInterface $validator)
    {
        if (!$this->validators->contains($validator)) {
            throw new NoSuchValidatorException('Cannot remove validator because its not in the conjunction.', 1207020177);
        }
        $this->validators->detach($validator);
    }
public function removeValidator(ValidatorInterface $validator)
    {
        if (!$this->validators->contains($validator)) {
            throw new NoSuchValidatorException('Cannot remove validator because its not in the conjunction.', 1207020177);
        }
        $this->validators->detach($validator);
    }
public function removeValidator ( ValidatorInterface $ validator ) { if ( ! $ this -> validators -> contains ( $ validator ) ) { throw new NoSuchValidatorException ( 'Cannot remove validator because its not in the conjunction.' , 1207020177 ) ; } $ this -> validators -> detach ( $ validator ) ; }
Removes the specified validator.

@param ValidatorInterface $validator The validator to remove
@throws NoSuchValidatorException
@api
Removes the specified validator .