Doctrine\Common\Cache\RiakCache::__construct PHP Method

__construct() public method

Sets the riak bucket instance to use.
public __construct ( Riak\Bucket $bucket )
$bucket Riak\Bucket
    public function __construct(Bucket $bucket)
    {
        $this->bucket = $bucket;
    }