Метод __construct
Сигнатура метода
public function __construct(?int $locationId = null, ?float $latitude = null, ?float $longitude = null, ?string $country = null, ?string $city = null, ?string $postalCode = null, ?string $address1 = null, ?string $address2 = null)
Параметры
8| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$locationId
|
?int
|
null
|
—
|
$latitude
|
?float
|
null
|
—
|
$longitude
|
?float
|
null
|
—
|
$country
|
?string
|
null
|
—
|
$city
|
?string
|
null
|
—
|
$postalCode
|
?string
|
null
|
—
|
$address1
|
?string
|
null
|
—
|
$address2
|
?string
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Public/Entity/Item/CustomField/Address.php
Расположение метода в файле
Строки
9–20