LaravelMemcached

Summary

No public properties found
No constants found
No private methods found
No private properties found
N/A
File
memcached.php
Package
Default
Class hierarchy
LaravelMemcached

Tags

None found

Properties

$connection

$connection : \Laravel\Memcached

The Memcached connection instance.

Type

LaravelMemcached

Tags

None found

Methods

connection()

connection() : \Laravel\Memcached

Get the Memcached connection instance.

// Get the Memcache connection and get an item from the cache $name = Memcached::connection()->get('name');

// Get the Memcache connection and place an item in the cache
Memcached::connection()->set('name', 'Taylor');

Returns

LaravelMemcached

static

Tags

None found

__callStatic()

__callStatic(  $method,   $parameters) 

Dynamically pass all other method calls to the Memcache instance.

// Get an item from the Memcache instance $name = Memcached::get('name');

// Store data on the Memcache server
Memcached::set('name', 'Taylor');

Parameters

$method
$parameters

static

Tags

None found

connect()

connect(array  $servers) : \Laravel\Memcached

Create a new Memcached connection instance.

Parameters

array $servers

Returns

LaravelMemcached

static

Tags

None found