• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/service/addressservice.php
  • Класс: BitrixLocationServiceAddressService
  • Вызов: AddressService::findByLinkedEntity
public function findByLinkedEntity(string $entityId, string $entityType): EntityAddressAddressCollection
{
	$result = false;

	try
	{
		$result = $this->repository->findByLinkedEntity($entityId, $entityType);
	}
	catch (RuntimeException $exception)
	{
		$this->processException($exception);
	}

	return $result;
}