• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/data/configurator/memcachedconnectionconfigurator.php
  • Класс: BitrixMainDataConfiguratorMemcachedConnectionConfigurator
  • Вызов: MemcachedConnectionConfigurator::__construct
public function __construct(array $config)
{
	if (!extension_loaded('memcached'))
	{
		throw new NotSupportedException('memcached extension is not loaded.');
	}

	$this->config = $config;

	$this->addServers($this->getConfig());
}