Метод __construct
Сигнатура метода
public function __construct(string $title, ?string $color = null)
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$title
|
string
|
—
|
—
|
$color
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/Service/Timeline/Layout/Menu/BadgeText.php
Расположение метода в файле
Строки
18–22