class Validation

Entry point for the Validator component.

Methods

createValidator()

Creates a new validator.

createValidatorBuilder()

Creates a configurable builder for validator objects.

Details

at line line 31
static ValidatorInterface createValidator()

Creates a new validator.

If you want to configure the validator, use {@link createValidatorBuilder()} instead.

Return Value

ValidatorInterface The new validator

at line line 41
static ValidatorBuilderInterface createValidatorBuilder()

Creates a configurable builder for validator objects.

Return Value

ValidatorBuilderInterface The new builder