final class Validate (View source)

Controls how a property or method argument will be validated by Flow.

Properties

string $type

The validator type, either a FQCN or a Flow validator class name.

array $options

Options for the validator, validator-specific.

string $argumentName

The name of the argument this annotation is attached to, if used on a method. (Can be given as anonymous argument.)

array $validationGroups

The validation groups for which this validator should be executed.

Methods

__construct(array $values)

No description

Details

__construct(array $values)

No description

Parameters

array $values

Exceptions

InvalidArgumentException