class Validator implements ExtenderInterface

Methods

__construct($validatorClass)

No description

configure($callback)

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

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

No description

Details

__construct($validatorClass)

Parameters

$validatorClass

configure($callback)

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

Parameters

$callback

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

Parameters

Container $container
Extension $extension