public function Store::isLocked

Returns whether or not a lock exists.

Parameters

Request $request A Request instance:

Return value

Boolean true if lock exists, false otherwise

Overrides StoreInterface::isLocked

File

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

Class

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

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function isLocked(Request $request) {
  return is_file($this
    ->getPath($this
    ->getCacheKey($request) . '.lck'));
}