Methods summary
public static
boolean
|
#
isAvailable( )
Checks if Memcached extension is available.
Checks if Memcached extension is available.
Returns
boolean
|
public
|
#
__construct( $host = 'localhost', $port = 11211, $prefix = '' )
|
public
mixed|null
|
#
read( string $key )
Read from cache.
Parameters
Returns
mixed|null
Implementation of
|
public
|
#
write( string $key, mixed $data, array $dp )
Writes item into the cache.
Writes item into the cache.
Parameters
- $key
string key
- $data
mixed data
- $dp
array dependencies
Implementation of
|
public
|
#
remove( string $key )
Removes item from the cache.
Removes item from the cache.
Parameters
Implementation of
|
public
|
#
clean( array $conds )
Removes items from the cache by conditions & garbage collector.
Removes items from the cache by conditions & garbage collector.
Parameters
Implementation of
|