MemcachedConnector
class MemcachedConnector
Methods
Memcached
connect(array $servers, string|null $connectionId = null, array $options = [], array $credentials = [])
Create a new Memcached connection.
Memcached
getMemcached(string|null $connectionId, array $credentials, array $options)
Get a new Memcached instance.
Memcached
createMemcachedInstance(string|null $connectionId)
Create the Memcached instance.
void
setCredentials(Memcached $memcached, array $credentials)
Set the SASL credentials on the Memcached connection.
Details
at line 18
Memcached
connect(array $servers, string|null $connectionId = null, array $options = [], array $credentials = [])
Create a new Memcached connection.
at line 46
protected Memcached
getMemcached(string|null $connectionId, array $credentials, array $options)
Get a new Memcached instance.
at line 67
protected Memcached
createMemcachedInstance(string|null $connectionId)
Create the Memcached instance.
at line 79
protected void
setCredentials(Memcached $memcached, array $credentials)
Set the SASL credentials on the Memcached connection.