class
Illuminate
/
Cache
/
MemcachedConnector
You are viewing an older version of the documentation. For the latest, please visit master documentation.
MemcachedConnector
Methods
public
connect ( array $servers , $connectionId , array $options , array $credentials ) : Memcached
Create a new Memcached connection.
Parameters
- $servers array
- $connectionId string|null
- $options array
- $credentials array
protected
getMemcached ( $connectionId , array $credentials , array $options ) : Memcached
Get a new Memcached instance.
Parameters
- $connectionId string|null
- $credentials array
- $options array
protected
createMemcachedInstance ( $connectionId ) : Memcached
Create the Memcached instance.
Parameters
- $connectionId string|null
protected
setCredentials ( $memcached , $credentials ) : void
Set the SASL credentials on the Memcached connection.
Parameters
- $memcached Memcached
- $credentials array