Explorar o código

[HttpKernel] added missing accessor

Fabien Potencier %!s(int64=13) %!d(string=hai) anos
pai
achega
43ce425f88
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

+ 10 - 0
src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php

@@ -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.
      *