Метод __construct
Сигнатура метода
public function __construct(Settings $settings, string $editUrlTemplate, string $baseCurrencyId, string $accountingCurrencyId, CurrencyMutationService $mutationService, LegacyCurrencyMutationAdapter $mutationAdapter, ?CurrencyRepository $repository = null, array $columnNames = [], string $setBaseActionText = '')
Параметры
9| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$settings
|
Settings
|
—
|
—
|
$editUrlTemplate
|
string
|
—
|
—
|
$baseCurrencyId
|
string
|
—
|
—
|
$accountingCurrencyId
|
string
|
—
|
—
|
$mutationService
|
CurrencyMutationService
|
—
|
—
|
$mutationAdapter
|
LegacyCurrencyMutationAdapter
|
—
|
—
|
$repository
|
?CurrencyRepository
|
null
|
—
|
$columnNames
|
array
|
[]
|
—
|
$setBaseActionText
|
string
|
''
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Component/Currency/Grid/CurrencyGrid.php
Расположение метода в файле
Строки
56–71