Bitrix API

Type

FinalYes

Table of Contents

Methods

bool()  : ScalarCaster
collection()  : Caster
float()  : ScalarCaster
int()  : ScalarCaster
makeCasterByPropertyType()  : Caster|null
makeCollectionCasterFromAttributes()  : Caster|null
object()  : ObjectCaster
string()  : ScalarCaster
validateCollectionByAttributes()  : void

Methods

makeCasterByPropertyType()

public static makeCasterByPropertyType(ReflectionType $type) : Caster|null
Parameters
$type : ReflectionType
Return values
Caster|null

makeCollectionCasterFromAttributes()

public static makeCollectionCasterFromAttributes(ReflectionAttribute $attribute[, mixed $isNullable = false ]) : Caster|null
Parameters
$attribute : ReflectionAttribute
$isNullable : mixed = false
Return values
Caster|null

validateCollectionByAttributes()

public static validateCollectionByAttributes(array<string|int, mixed>|null $collection, ReflectionAttribute $attribute) : void
Parameters
$collection : array<string|int, mixed>|null
$attribute : ReflectionAttribute

        
On this page

Search results