Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / http-kernel / HttpCache / StoreInterface.php
index ddc0c04ee39600f3f844d8c689f081b50edf67bc..8f1cf4409eee85aa0f5acebc2dbb49b033d90908 100644 (file)
@@ -27,8 +27,6 @@ interface StoreInterface
     /**
      * Locates a cached Response for the Request provided.
      *
-     * @param Request $request A Request instance
-     *
      * @return Response|null A Response instance, or null if no cache entry was found
      */
     public function lookup(Request $request);
@@ -39,25 +37,18 @@ interface StoreInterface
      * Existing entries are read and any that match the response are removed. This
      * method calls write with the new list of cache entries.
      *
-     * @param Request  $request  A Request instance
-     * @param Response $response A Response instance
-     *
      * @return string The key under which the response is stored
      */
     public function write(Request $request, Response $response);
 
     /**
      * Invalidates all cache entries that match the request.
-     *
-     * @param Request $request A Request instance
      */
     public function invalidate(Request $request);
 
     /**
      * Locks the cache for a given Request.
      *
-     * @param Request $request A Request instance
-     *
      * @return bool|string true if the lock is acquired, the path to the current lock otherwise
      */
     public function lock(Request $request);
@@ -65,8 +56,6 @@ interface StoreInterface
     /**
      * Releases the lock for the given Request.
      *
-     * @param Request $request A Request instance
-     *
      * @return bool False if the lock file does not exist or cannot be unlocked, true otherwise
      */
     public function unlock(Request $request);
@@ -74,8 +63,6 @@ interface StoreInterface
     /**
      * Returns whether or not a lock exists.
      *
-     * @param Request $request A Request instance
-     *
      * @return bool true if lock exists, false otherwise
      */
     public function isLocked(Request $request);