• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/repository/location/strategy/base.php
  • Класс: BitrixLocationRepositoryLocationStrategyBase
  • Вызов: Base::setLocationRepositories
public function setLocationRepositories(array $locationRepositories): Base
{
	foreach($locationRepositories as $repository)
	{
		if(!($repository instanceof IRepository))
		{
			throw new ArgumentOutOfRangeException('locationRepositories');
		}

		$this->locationRepositories[] = $repository;
	}

	return $this;
}