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|null $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(string $argumentName = null, bool $evaluate = false)

No description

Details

__construct(string $argumentName = null, bool $evaluate = false)

No description

Parameters

string $argumentName
bool $evaluate