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

	$this->config = $config;

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