1 | <?php |
||
30 | class CouchbaseStore extends TaggableStore implements Store |
||
31 | { |
||
32 | use RetrievesMultipleKeys; |
||
33 | |||
34 | /** @var string */ |
||
35 | protected $prefix; |
||
36 | |||
37 | /** @var Bucket */ |
||
38 | protected $bucket; |
||
39 | |||
40 | /** @var Cluster */ |
||
41 | protected $cluster; |
||
42 | |||
43 | /** |
||
44 | * CouchbaseStore constructor. |
||
45 | * |
||
46 | * @param Cluster $cluster |
||
47 | * @param string $bucket |
||
48 | * @param string $password |
||
49 | * @param string|null $prefix |
||
50 | * @param string $serialize |
||
51 | */ |
||
52 | 32 | public function __construct( |
|
63 | |||
64 | /** |
||
65 | * {@inheritdoc} |
||
66 | */ |
||
67 | 18 | public function get($key) |
|
77 | |||
78 | /** |
||
79 | * Store an item in the cache if the key doesn't exist. |
||
80 | * |
||
81 | * @param string|array $key |
||
82 | * @param mixed $value |
||
83 | * @param int $minutes |
||
84 | * |
||
85 | * @return bool |
||
86 | */ |
||
87 | 14 | public function add($key, $value, $minutes = 0): bool |
|
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | 2 | public function put($key, $value, $minutes) |
|
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | 2 | public function increment($key, $value = 1) |
|
115 | |||
116 | /** |
||
117 | * {@inheritdoc} |
||
118 | */ |
||
119 | 2 | public function decrement($key, $value = 1) |
|
124 | |||
125 | /** |
||
126 | * {@inheritdoc} |
||
127 | */ |
||
128 | 2 | public function forever($key, $value) |
|
137 | |||
138 | /** |
||
139 | * {@inheritdoc} |
||
140 | */ |
||
141 | 18 | public function forget($key) |
|
149 | |||
150 | /** |
||
151 | * flush bucket. |
||
152 | * |
||
153 | * @throws FlushException |
||
154 | * @codeCoverageIgnore |
||
155 | */ |
||
156 | public function flush() |
||
163 | |||
164 | /** |
||
165 | * {@inheritdoc} |
||
166 | */ |
||
167 | 2 | public function getPrefix() |
|
171 | |||
172 | /** |
||
173 | * Set the cache key prefix. |
||
174 | * |
||
175 | * @param string $prefix |
||
176 | */ |
||
177 | 32 | public function setPrefix(string $prefix) |
|
181 | |||
182 | /** |
||
183 | * @param string $bucket |
||
184 | * @param string $password |
||
185 | * @param string $serialize |
||
186 | * |
||
187 | * @return CouchbaseStore |
||
188 | */ |
||
189 | 32 | public function setBucket(string $bucket, string $password = '', string $serialize = 'php'): CouchbaseStore |
|
198 | |||
199 | /** |
||
200 | * @param $keys |
||
201 | * |
||
202 | * @return array|string |
||
203 | */ |
||
204 | 24 | private function resolveKey($keys) |
|
217 | |||
218 | /** |
||
219 | * @param $meta |
||
220 | * |
||
221 | * @return array|null |
||
222 | */ |
||
223 | 12 | protected function getMetaDoc($meta) |
|
239 | |||
240 | /** |
||
241 | * Get a lock instance. |
||
242 | * |
||
243 | * @param string $name |
||
244 | * @param int $seconds |
||
245 | * @return \Illuminate\Contracts\Cache\Lock |
||
246 | */ |
||
247 | 2 | public function lock(string $name, int $seconds = 0): Lock |
|
251 | } |
||
252 |
Scrutinizer analyzes your
composer.json
/composer.lock
file if available to determine the classes, and functions that are defined by your dependencies.It seems like the listed class was neither found in your dependencies, nor was it found in the analyzed files in your repository. If you are using some other form of dependency management, you might want to disable this analysis.