@@ -96,6 +96,16 @@ class HttpCache implements HttpKernelInterface
$this->traces = array();
}
+ /**
+ * Gets the current store.
+ *
+ * @return StoreInterface $store A StoreInterface instance
+ */
+ public function getStore()
+ {
+ return $this->store;
+ }
+
/**
* Returns an array of events that took place during processing of the last request.
*