MemcachedConnector
class MemcachedConnector (View source)
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
Memcached connect(array $servers, string|null $connectionId = null, array $options = [], array $credentials = [])
Create a new Memcached connection.
protected Memcached getMemcached(string|null $connectionId, array $credentials, array $options)
Get a new Memcached instance.
protected Memcached createMemcachedInstance(string|null $connectionId)
Create the Memcached instance.
protected void setCredentials(Memcached $memcached, array $credentials)
Set the SASL credentials on the Memcached connection.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Cache/MemcachedConnector.html