Key
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- execute() : ValidatorResult
- 値の検証を実行します
Properties
$arrayPath
private
ArrayPath
$arrayPath
Methods
__construct()
public
__construct(ArrayPath $arrayPath) : mixed
Parameters
- $arrayPath : ArrayPath
execute()
値の検証を実行します
public
execute(string $key, array<string|int, mixed> $input) : ValidatorResult
Parameters
- $key : string
-
検証する値を保持しているキー名を渡します
- $input : array<string|int, mixed>