Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
12–25
~/bitrix/modulestasks/lib/Onboarding/Transfer/QueueJob.php
Исходный код
Сигнатура метода
public function __construct(Type $type, int $taskId, int $userId, string $code, DateTime $nextExecution, ?int $jobCount = null, DateTime $createdDate = new DateTime(), bool $isProcessed = false, bool $isCountable = false)
Параметры
9| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
Type
|
-
|
-
|
$taskId
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$code
|
string
|
-
|
-
|
$nextExecution
|
DateTime
|
-
|
-
|
$jobCount
|
?int
|
null
|
-
|
$createdDate
|
DateTime
|
new DateTime()
|
-
|
$isProcessed
|
bool
|
false
|
-
|
$isCountable
|
bool
|
false
|
-
|