protected function getStoreMetadata($key) {
$r = new \ReflectionObject($this->store);
$m = $r
->getMethod('getMetadata');
$m
->setAccessible(true);
if ($key instanceof Request) {
$m1 = $r
->getMethod('getCacheKey');
$m1
->setAccessible(true);
$key = $m1
->invoke($this->store, $key);
}
return $m
->invoke($this->store, $key);
}