public function StoreInterface::lock

Locks the cache for a given Request.

Parameters

Request $request A Request instance:

Return value

Boolean|string true if the lock is acquired, the path to the current lock otherwise

1 method overrides StoreInterface::lock()
Store::lock in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/Store.php
Locks the cache for a given Request.

File

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

Class

StoreInterface
Interface implemented by HTTP cache stores.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function lock(Request $request);