[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/ -> StoreInterface.php (summary)

(no description)

File Size: 96 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

StoreInterface:: (8 methods):
  lookup()
  write()
  invalidate()
  lock()
  unlock()
  isLocked()
  purge()
  cleanup()


Interface: StoreInterface  - X-Ref

Interface implemented by HTTP cache stores.

lookup(Request $request)   X-Ref
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

write(Request $request, Response $response)   X-Ref
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.

param: Request  $request  A Request instance
param: Response $response A Response instance
return: string The key under which the response is stored

invalidate(Request $request)   X-Ref
Invalidates all cache entries that match the request.

param: Request $request A Request instance

lock(Request $request)   X-Ref
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

unlock(Request $request)   X-Ref
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

isLocked(Request $request)   X-Ref
Returns whether or not a lock exists.

param: Request $request A Request instance
return: bool true if lock exists, false otherwise

purge($url)   X-Ref
Purges data for the given URL.

param: string $url A URL
return: bool true if the URL exists and has been purged, false otherwise

cleanup()   X-Ref
Cleanups storage.




Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1