ArrayType
in package
implements
ValueValidateInterface
Attributes
- #[Attribute]
- \Attribute::TARGET_PROPERTY
Table of Contents
Interfaces
- ValueValidateInterface
- ValidatorのAttributeとして識別するためのインターフェース
Properties
- $names : array<string|int, string>
Methods
- __construct() : mixed
- execute() : ValidateResult
Properties
$names
private
array<string|int, string>
$names
Methods
__construct()
public
__construct(string ...$names) : mixed
Parameters
- $names : string
execute()
public
execute(mixed $value, ValidateResult $result) : ValidateResult
Parameters
- $value : mixed
- $result : ValidateResult