• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/businesssuite/servicewrapper.php
  • Класс: BitrixSeoBusinessSuiteServiceWrapper
  • Вызов: ServiceWrapper::getAuthAdapter
static function getAuthAdapter($type) : BusinessAuthAdapter
{
	static::$authAdapterPool[$key] =  static::$authAdapterPool[$key = get_called_class()] ?? [];
	if (!array_key_exists($type,static::$authAdapterPool[$key]))
	{
		static::$authAdapterPool[$key][$type] = BusinessAuthAdapter::create($type)->setService(static::getInstance());
	}

	return static::$authAdapterPool[$key][$type];
}