Selen

Enum
in package
implements ValueValidateInterface

Attributes
#[Attribute]
\Attribute::TARGET_PROPERTY

Table of Contents

Interfaces

ValueValidateInterface
ValidatorのAttributeとして識別するためのインターフェース

Properties

$allowValues  : array<int, string|int|float|bool|null>

Methods

__construct()  : mixed
execute()  : ValidateResult
surround()  : string

Properties

$allowValues

private array<int, string|int|float|bool|null> $allowValues

Methods

__construct()

public __construct(string|int|float|bool|null ...$values) : mixed
Parameters
$values : string|int|float|bool|null

surround()

private surround(string|float|int|bool|null $value) : string
Parameters
$value : string|float|int|bool|null
Return values
string

        
On this page

Search results