Selen

Value
in package

Table of Contents

Properties

$arrayPath  : ArrayPath
$attributeValueValidates  : array<string|int, ReflectionAttribute<string|int, object>>

Methods

__construct()  : mixed
インスタンスを生成します
execute()  : ValidatorResult
値の検証を実行します

Properties

$attributeValueValidates

private array<string|int, ReflectionAttribute<string|int, object>> $attributeValueValidates = []

Methods

__construct()

インスタンスを生成します

public __construct(ArrayPath $arrayPath, array<string|int, ReflectionAttribute<string|int, object>> $attributeValueValidates) : mixed
Parameters
$arrayPath : ArrayPath
$attributeValueValidates : array<string|int, ReflectionAttribute<string|int, object>>

execute()

値の検証を実行します

public execute(string $key, array<string|int, mixed> $input) : ValidatorResult
Parameters
$key : string

検証する値を保持しているキー名を渡します

$input : array<string|int, mixed>
Return values
ValidatorResult

        
On this page

Search results