class Validator implements ExtenderInterface

Methods

__construct($validatorClass)

No description

configure($callback)

Configure the validator. This is often used to adjust validation rules, but can be used to make other changes to the validator as well.

extend(Container $container, Extension $extension = null)

No description

Details

__construct($validatorClass)

Parameters

$validatorClass

configure($callback)

Configure the validator. This is often used to adjust validation rules, but can be used to make other changes to the validator as well.

Parameters

$callback

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension