Метод __construct
Сигнатура метода
public function __construct(int $id, DatePeriod $datePeriod, bool $isOverbooking, bool $isConfirmed, array $resources, array $clients, array $externalData, array $skus, string|null $name, int|null $createdBy, string|null $note)
Параметры
11| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
—
|
—
|
$datePeriod
|
DatePeriod
|
—
|
—
|
$isOverbooking
|
bool
|
—
|
—
|
$isConfirmed
|
bool
|
—
|
—
|
$resources
|
array
|
—
|
—
|
$clients
|
array
|
—
|
—
|
$externalData
|
array
|
—
|
—
|
$skus
|
array
|
—
|
—
|
$name
|
string|null
|
—
|
—
|
$createdBy
|
int|null
|
—
|
—
|
$note
|
string|null
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Dto/Booking/Booking/BookingFields.php
Расположение метода в файле
Строки
22–36