Bitrix API

Rule extends Dto

FinalYes

Table of Contents

Properties

$availableSlots  : array<string|int, int>
$hash  : mixed
$maxRanges  : int
$ranges  : mixed
$slotSize  : int

Methods

__construct()  : mixed
getCachedCasts()  : array<string|int, mixed>
getCasts()  : array<string, Caster>
Method returns map, where key must relate to public property, and value specifies type of this property
jsonSerialize()  : mixed
make()  : mixed
toArray()  : array<string|int, mixed>

Properties

$availableSlots

public array<string|int, int> $availableSlots = [30, 45, 60, 90, 120, 180]

$hash

public mixed $hash = ''
Tags
@var

string/null

$maxRanges

public int $maxRanges = 5

$ranges

public mixed $ranges = []
Tags
@var

Range[]/null

$slotSize

public int $slotSize

Methods

__construct()

public __construct() : mixed

getCachedCasts()

public getCachedCasts() : array<string|int, mixed>
Return values
array<string|int, mixed>

getCasts()

Method returns map, where key must relate to public property, and value specifies type of this property

public getCasts() : array<string, Caster>
Return values
array<string, Caster>

property name => typecaster object

jsonSerialize()

public jsonSerialize() : mixed

make()

public static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
$fields : array<string|int, mixed>|null = null

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results