src/ValidatorHolderTrait.php
public function validateValue($value) {
        $validationResultSet = new ValidationResultSet();
        foreach($this->validators as $validator) {
            $validationResultSet->add($validator->validate($value));
        }
        return $validationResultSet;
    }
public function validateValue($value) {
        $validationResultSet = new ValidationResultSet();
        foreach($this->validators as $validator) {
            $validationResultSet->add($validator->validate($value));
        }
        return $validationResultSet;
    }
public function validateValue ( $ value ) { $ validationResultSet = new ValidationResultSet ( ) ; foreach ( $ this -> validators as $ validator ) { $ validationResultSet -> add ( $ validator -> validate ( $ value ) ) ; } return $ validationResultSet ; }
Validates a value against all given Validators

@param mixed $value
@return ValidationResultSet
Validates a value against all given Validators