class Validator implements ExtenderInterface

Methods

__construct(string $validatorClass)

No description

configure(callable|string $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.

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

No description

Details

__construct(string $validatorClass)

Parameters

string $validatorClass

Validator configure(callable|string $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

callable|string $callback

Return Value

Validator

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

Parameters

Container $container
Extension|null $extension

Return Value

void