• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/infrastructure/service/config/factory.php
  • Класс: BitrixLocationInfrastructureServiceConfigFactory
  • Вызов: Factory::createConfig
static function createConfig(string $serviceType): Container
{
	$result = null;

	if(self::$delegate !== null && self::$delegate instanceof IFactory)
	{
		if($result = self::$delegate::createConfig($serviceType))
		{
			return $result;
		}
	}

	return new Container(
		static::getServiceConfig($serviceType)
	);
}