PHP Class Neos\Flow\Annotations\Validate

Show file Open project: neos/flow-development-collection

Public Properties

Property Type Description
$argumentName string The name of the argument this annotation is attached to, if used on a method. (Can be given as anonymous argument.)
$options array Options for the validator, validator-specific.
$type string The validator type, either a FQCN or a Flow validator class name.
$validationGroups array The validation groups for which this validator should be executed.

Public Methods

Method Description
__construct ( array $values )

Method Details

__construct() public method

public __construct ( array $values )
$values array

Property Details

$argumentName public property

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

$options public property

Options for the validator, validator-specific.
public array $options
return array

$type public property

The validator type, either a FQCN or a Flow validator class name.
public string $type
return string

$validationGroups public property

The validation groups for which this validator should be executed.
public array $validationGroups
return array