Метод __construct

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

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

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

Исходный код

PHP
public

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

public function __construct(?int $id = null, ?int $userId = null, ?int $taskId = null, ?int $minutes = null, ?int $seconds = null, ?Source $source = null, ?string $text = null, ?int $createdAtTs = null, ?int $startTs = null, ?int $stopTs = null, ?array $rights = null)

Параметры

11
Имя Тип По умолчанию Флаги
$id ?int null
-
$userId ?int null
-
$taskId ?int null
-
$minutes ?int null
-
$seconds ?int null
-
$source ?Source null
-
$text ?string null
-
$createdAtTs ?int null
-
$startTs ?int null
-
$stopTs ?int null
-
$rights ?array null
-