We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c06619 commit 6cbdea7Copy full SHA for 6cbdea7
1 file changed
CacheItemPool.php
@@ -122,4 +122,16 @@ public function saveDeferred(CacheItemInterface $item): bool
122
123
return true;
124
}
125
+
126
+ /**
127
+ * Returns the instance of the underlying cache client.
128
+ *
129
+ * This method is not part of the PSR-6.
130
131
+ * @return Cache
132
+ */
133
+ public function client(): Cache
134
+ {
135
+ return $this->client;
136
+ }
137
0 commit comments