• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/businesssuite/utils/servicepool.php
  • Класс: BitrixSeoBusinessSuiteUtilsServicePool
  • Вызов: ServicePool::buildService
static function buildService($type, $clientId, $serviceType) : ?ServiceWrapper
{
	if (is_string($type) && $clientId && is_string($serviceType))
	{
		return ServiceAdapter::createServiceWrapperContainer()->setMeta(
			ServiceMetaData::create()
				->setType($type)
				->setEngineCode($serviceType)
				->setClientId($clientId)
				->setService(ServiceFactory::getServiceByEngineCode($serviceType))
		);
	}
	return null;
}