Bitrix API

InArray extends AbstractPropertyValidationAttribute

Attributes
#[Attribute]
\Attribute::TARGET_PROPERTY

Table of Contents

Methods

__construct()  : mixed
validateProperty()  : ValidationResult

Methods

__construct()

public __construct(array<string|int, mixed> $validValues[, bool $strict = false ][, string|LocalizableMessageInterface|null $errorMessage = null ]) : mixed
Parameters
$validValues : array<string|int, mixed>
$strict : bool = false
$errorMessage : string|LocalizableMessageInterface|null = null

        
On this page

Search results