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
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);