final class IgnoreValidation (View source)

Used to ignore validation on a specific method argument or class property.

By default no validation will be executed for the given argument. To gather validation results for further processing, the "evaluate" option can be set to true (while still ignoring any validation error).

Properties

string $argumentName

Name of the argument to skip validation for. (Can be given as anonymous argument.)

bool $evaluate

Whether to evaluate the validation results of the argument

Methods

__construct(array $values)

No description

Details

__construct(array $values)

No description

Parameters

array $values

Exceptions

InvalidArgumentException