PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/s3/Aws/DoctrineCacheAdapter.php +15 -0 1.2.131.4.1 View file →
@@ -14,8 +14,11 @@
14 14 public function get($key)
15 15 {
16 16 return $this->cache->fetch($key);
17 17 }
18 + /**
19 + * @return mixed
20 + */
18 21 public function fetch($key)
19 22 {
20 23 return $this->get($key);
21 24 }
@@ -22,8 +25,11 @@
22 25 public function set($key, $value, $ttl = 0)
23 26 {
24 27 return $this->cache->save($key, $value, $ttl);
25 28 }
29 + /**
30 + * @return bool
31 + */
26 32 public function save($key, $value, $ttl = 0)
27 33 {
28 34 return $this->set($key, $value, $ttl);
29 35 }
@@ -30,16 +36,25 @@
30 36 public function remove($key)
31 37 {
32 38 return $this->cache->delete($key);
33 39 }
40 + /**
41 + * @return bool
42 + */
34 43 public function delete($key)
35 44 {
36 45 return $this->remove($key);
37 46 }
47 + /**
48 + * @return bool
49 + */
38 50 public function contains($key)
39 51 {
40 52 return $this->cache->contains($key);
41 53 }
54 + /**
55 + * @return mixed[]|null
56 + */
42 57 public function getStats()
43 58 {
44 59 return $this->cache->getStats();
45 60 }