You are here

public function RiakCache::__construct in Plug 7

Sets the riak bucket instance to use.

Parameters

\Riak\Bucket $bucket:

File

lib/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php, line 49

Class

RiakCache
Riak cache provider.

Namespace

Doctrine\Common\Cache

Code

public function __construct(Bucket $bucket) {
  $this->bucket = $bucket;
}