public function Store::unlock

Releases the lock for the given Request.

Parameters

Request $request A Request instance:

Overrides StoreInterface::unlock

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php, line 90

Class

Store
Store implements all the logic for storing cache metadata (Request and Response headers).

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function unlock(Request $request) {
  return @unlink($this
    ->getPath($this
    ->getCacheKey($request) . '.lck'));
}