• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/controller/address.php
  • Класс: BitrixLocationControllerAddress
  • Вызов: Address::createArrayFromAddressCollection
protected function createArrayFromAddressCollection(array $collection): array
{
	$result = [];

	foreach ($collection as $address)
	{
		$result[] = ArrayConverter::convertToArray($address);
	}

	return $result;
}