Метод __construct

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 15–23
~/bitrix/modulestasks/lib/V2/Internal/Integration/HumanResources/Entity/Department.php

Исходный код

PHP
public

Сигнатура метода

public function __construct(?int $id = null, ?string $name = null, ?File $image = null, ?string $accessCode = null)

Параметры

4
Имя Тип По умолчанию Флаги
$id ?int null
-
$name ?string null
-
$image ?File null
-
$accessCode ?string null
-