PHP Class Doctrine\Common\Cache\MemcachedCache

Not implemented until doctrine 2.2, so we made it compatible with doctrine 2.0
Since: 2.2
Author: Benjamin Eberlei ([email protected])
Author: Guilherme Blanco ([email protected])
Author: Jonathan Wage ([email protected])
Author: Roman Borschel ([email protected])
Author: David Abdemoulaie ([email protected])
Author: Nicola Tommasi ([email protected])
Inheritance: extends Doctrine\Common\Cache\AbstractCache
Afficher le fichier Open project: doctrine/cache Class Usage Examples

Méthodes publiques

Méthode Description
getMemcached ( ) : Memcache\Memcached | null Gets the memcached instance used by the cache.
setMemcached ( Memcached $memcached ) : void Sets the memcache instance to use.

Méthodes protégées

Méthode Description
doContains ( $id )
doDelete ( $id )
doFetch ( $id )
doFetchMultiple ( array $keys )
doFlush ( )
doGetStats ( )
doSave ( $id, $data, $lifeTime )
doSaveMultiple ( array $keysAndValues, $lifetime )

Method Details

doContains() protected méthode

protected doContains ( $id )

doDelete() protected méthode

protected doDelete ( $id )

doFetch() protected méthode

protected doFetch ( $id )

doFetchMultiple() protected méthode

protected doFetchMultiple ( array $keys )
$keys array

doFlush() protected méthode

protected doFlush ( )

doGetStats() protected méthode

protected doGetStats ( )

doSave() protected méthode

protected doSave ( $id, $data, $lifeTime )

doSaveMultiple() protected méthode

protected doSaveMultiple ( array $keysAndValues, $lifetime )
$keysAndValues array

getMemcached() public méthode

Gets the memcached instance used by the cache.
public getMemcached ( ) : Memcache\Memcached | null
Résultat Memcache\Memcached | null

setMemcached() public méthode

Sets the memcache instance to use.
public setMemcached ( Memcached $memcached ) : void
$memcached Memcached
Résultat void