Validate

Attributes
#[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

Properties

$options read-only

public array<string|int, mixed> $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
Return values
string
On this page

Search results