PHP Class Webiny\Component\Cache\Storage\Couchbase

Show file Open project: Webiny/Framework Class Usage Examples

Public Methods

Method Description
getInstance ( string $user, string $password, string $bucket, string $host ) : Webiny\Component\Cache\Bridge\CacheStorageInterface Get an instance of Couchbase cache storage.

Method Details

getInstance() public static method

Get an instance of Couchbase cache storage.
public static getInstance ( string $user, string $password, string $bucket, string $host ) : Webiny\Component\Cache\Bridge\CacheStorageInterface
$user string Couchbase username.
$password string Couchbase password.
$bucket string Couchbase bucket.
$host string Couchbase host (with port number).
return Webiny\Component\Cache\Bridge\CacheStorageInterface