3namespace Bitrix\Calendar\Sync\Factories;
5use Bitrix\Calendar\Core\Base\BaseException;
6use Bitrix\Calendar\Core\Builders\Builder;
7use Bitrix\Calendar\Sync;
51 throw new BaseException(
'Factory for accout type is not found');
62 return array_diff(array_keys(self::getServiceMap()), [$parentService]);
68 private static function getServiceMap():
array
83 return self::getServiceMap()[$accountType] ??
null;
91 return $this->factory;
100 return array_key_exists($serviceName, self::getServiceMap());
static getClassName(string $accountType)
static checkService($serviceName)
__construct(string $accountType, Sync\Connection\Connection $connection, Sync\Util\Context $context)
static create(string $accountType, Sync\Connection\Connection $connection, Sync\Util\Context $context)
static getAvailableServices(string $parentService)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)