MemcachedTrait
trait MemcachedTrait
Methods
static
isSupported()
No description
static Memcached
createConnection(array[]|string|string[] $servers, array $options = array())
Creates a Memcached instance.
doSave(array $values, $lifetime)
{@inheritdoc}
doFetch(array $ids)
{@inheritdoc}
doHave($id)
{@inheritdoc}
doDelete(array $ids)
{@inheritdoc}
doClear($namespace)
{@inheritdoc}
Details
static Memcached
createConnection(array[]|string|string[] $servers, array $options = array())
Creates a Memcached instance.
By default, the binary protocol, no block, and libketama compatible options are enabled.
Examples for servers: - 'memcached://user:pass@localhost?weight=33' - array(array('localhost', 11211, 33))