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