You are here

public function RiakCache::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php \Doctrine\Common\Cache\RiakCache::__construct()

Sets the riak bucket instance to use.

Parameters

\Riak\Bucket $bucket:

File

vendor/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;
}