File tree 2 files changed +7
-7
lines changed
components/cache/adapters 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ the second and third parameters::
32
32
33
33
$cache = new CouchbaseBucketAdapter(
34
34
// the client object that sets options and adds the server instance(s)
35
- \CouchbaseBucket $client,
35
+ $client,
36
36
37
37
// the name of bucket
38
- string $bucket,
38
+ $bucket,
39
39
40
40
// a string prefixed to the keys of the items stored in this cache
41
- $namespace = '' ,
41
+ $namespace,
42
42
43
43
// the default lifetime (in seconds) for cache items that do not define their
44
44
// own lifetime, with a value 0 causing items to be stored indefinitely
45
- $defaultLifetime = 0,
45
+ $defaultLifetime
46
46
);
47
47
48
48
Original file line number Diff line number Diff line change @@ -28,14 +28,14 @@ the second and third parameters::
28
28
29
29
$cache = new CouchbaseCollectionAdapter(
30
30
// the client object that sets options and adds the server instance(s)
31
- \Couchbase\Collection $client,
31
+ $client,
32
32
33
33
// a string prefixed to the keys of the items stored in this cache
34
- $namespace = '' ,
34
+ $namespace,
35
35
36
36
// the default lifetime (in seconds) for cache items that do not define their
37
37
// own lifetime, with a value 0 causing items to be stored indefinitely
38
- $defaultLifetime = 0,
38
+ $defaultLifetime
39
39
);
40
40
41
41
You can’t perform that action at this time.
0 commit comments