PHP Class Doctrine\Common\Cache\CouchbaseCache

Since: 2.4
Author: Michael Nitschinger ([email protected])
Inheritance: extends CacheProvider
显示文件 Open project: doctrine/cache Class Usage Examples

Public Methods

Method Description
getCouchbase ( ) : Couchbas\Couchbase | null Gets the Couchbase instance used by the cache.
setCouchbase ( Couchbase $couchbase ) : void Sets the Couchbase instance to use.

Protected Methods

Method Description
doContains ( $id )
doDelete ( $id )
doFetch ( $id )
doFlush ( )
doGetStats ( )
doSave ( $id, $data, $lifeTime )

Method Details

doContains() protected method

protected doContains ( $id )

doDelete() protected method

protected doDelete ( $id )

doFetch() protected method

protected doFetch ( $id )

doFlush() protected method

protected doFlush ( )

doGetStats() protected method

protected doGetStats ( )

doSave() protected method

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

getCouchbase() public method

Gets the Couchbase instance used by the cache.
public getCouchbase ( ) : Couchbas\Couchbase | null
return Couchbas\Couchbase | null

setCouchbase() public method

Sets the Couchbase instance to use.
public setCouchbase ( Couchbase $couchbase ) : void
$couchbase Couchbase
return void