Validate
class \
Attributes
- #[Attribute]
- \Attribute::TARGET_PROPERTY | \Attribute::TARGET_PARAMETER | \Attribute::IS_REPEATABLE
Table of Contents
Properties
- $options : array
- $validator : string
Methods
- __construct() : mixed
- __toString() : string
Properties
$options read-only
public
array
$options
= []
$validator read-only
public
string
$validator
Methods
__construct()
public
__construct(string $validator[, array<string, mixed> $options = [] ]) : mixed
Parameters
- $validator : string
- $options : array<string, mixed> = []
__toString()
public
__toString() : string