* * This code is partially based on the Rack-Cache library by Ryan Tomayko, * which is released under the MIT license. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\HttpCache; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; /** * Interface implemented by HTTP cache stores. * * @author Fabien Potencier */ interface StoreInterface { /** * Locates a cached Response for the Request provided. * * @return Response|null A Response instance, or null if no cache entry was found */ public function lookup(Request $request); /** * Writes a cache entry to the store for the given Request and Response. * * Existing entries are read and any that match the response are removed. This * method calls write with the new list of cache entries. * * @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. */ public function invalidate(Request $request); /** * Locks the cache for a given Request. * * @return bool|string true if the lock is acquired, the path to the current lock otherwise */ public function lock(Request $request); /** * Releases the lock for the given Request. * * @return bool False if the lock file does not exist or cannot be unlocked, true otherwise */ public function unlock(Request $request); /** * Returns whether or not a lock exists. * * @return bool true if lock exists, false otherwise */ public function isLocked(Request $request); /** * Purges data for the given URL. * * @param string $url A URL * * @return bool true if the URL exists and has been purged, false otherwise */ public function purge($url); /** * Cleanups storage. */ public function cleanup(); } __halt_compiler();----SIGNATURE:----KrQqUkNhQQM3YdmfBM3B6nawU6MOimsjpSNajyasoMyK6Eg9DE8AYE175oj1K5eqi3rfkJm9LzdURIQq30EvUPu2h9mtWwD7u1ZMufohDtJJ1B4+ldB6tb7fAtUUCBnZh/KWQy+jquYeNjJmPy97CbKx90/IFMd3DQPmsYZ2UAZRe+1shUOwsC+XWosP6V1mV0I4D41gHzFoCElWP43gQ7iKV1MEi0S6xeU7xYpyTkuRCxfJNkUNjkPMWgPcn/Lgklvzl6MlIDkf9mdoo55oeebN49L4+dXR+OSFfigVdCU4CatVw04spQ2ZapSWPGdZo9PNTgAL9AS4SKCDuBuO8/VeWX6JUEAjmqBMt65Y/MM0pS4yYAtbRo/RGekeZvWh42YX++kzm3t4adwlyIQDHDUzJ2PDwE+PFiJBdnBJqICcmiifalFHqkXnh/WpmoOcM3MbvY7s2PyPrhbISpbFrmG/nAnt0ezSez7HGfX7qhaZrCHuMTxtTWmA0+ShjmBfRjuRGJ03qW9pHw2iAfjkhQ4asPNdFPCH9nxkdANH0hbPPqG/cu/QhQtM/yqZZ+RFLo3yvI+4YqTb6lBqizG+u15vzo6YsU4Uw8tZa3gX6/GTNxU0iazjOTArYoPoiTvwY5HAwxHYdjlKHGjuz2MC9uqih7y1NQ2eZPKRKE0BVqc=----ATTACHMENT:----MTkzOTc4MzM0NDkxNzkxMSAyMzc1NjQ4MzQ1NjMwNjk3IDI4NzIxNDE2NTkxNzU3Mjc=