• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/source/google/repository.php
  • Класс: BitrixLocationSourceGoogleRepository
  • Вызов: Repository::find
protected function find($requester,  $converter = null, array $findParams = [])
{
	if($this->apiKey === '')
	{
		throw new RuntimeException(
			Loc::getMessage('LOCATION_ADDRESS_REPOSITORY_API_KEY_ERROR'),
			ErrorCodes::REPOSITORY_FIND_API_KEY_ERROR
		);
	}

	$finder = $this->buildFinder($requester, $converter);
	$findParams['key'] = $this->apiKey;
	return $finder->find($findParams);
}