You are here

public function DrupalMemcacheInterface::addServer in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/memcache/src/DrupalMemcacheInterface.php \Drupal\memcache\DrupalMemcacheInterface::addServer()

Adds a memcache server.

Parameters

string $server_path: The server path including port.

bool $persistent: Whether this server connection is persistent or not.

2 methods override DrupalMemcacheInterface::addServer()
DrupalMemcache::addServer in modules/memcache/src/DrupalMemcache.php
@
DrupalMemcached::addServer in modules/memcache/src/DrupalMemcached.php
Adds a memcache server.

File

modules/memcache/src/DrupalMemcacheInterface.php, line 101
Contains \Drupal\memcache\DrupalMemcacheInterface.

Class

DrupalMemcacheInterface
Class DrupalMemcacheInterface.

Namespace

Drupal\memcache

Code

public function addServer($server_path, $persistent = FALSE);