Validate
-
Annotation
-
-
Target
-
-
#[Attribute]
-
\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE
Table of Contents
Properties
-
$options
: array<string, mixed>
-
$param
: string
-
$validator
: string
Methods
-
__construct()
: mixed
-
__toString()
: string
$options
public
array<string, mixed>
$options
= []
$param
public
string
$param
= ''
$validator
public
string
$validator
= ''
-
Required
-
__construct()
public
__construct(array{value?: non-empty-string, validator?: non-empty-string, options?: array, param?: string} $values) : mixed
Parameters
-
$values
: array{value?: non-empty-string, validator?: non-empty-string, options?: array, param?: string}
-
__toString()
public
__toString() : string