The Cache class in laravel has methods such as get(\'itemKey\') to retrieve items from the cache, and remember(\'itemKey\', [\'myData1\', \'myData2\']) to save items in the cach
For Memcached, you can do this:
cache()->getMemcached()->getAllKeys()
Illuminate\Cache\CacheManager
Memcached
getAllKeys()
This gives you an array of keys you can go through.