You are here

public function StoreInterface::lock in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/HttpCache/StoreInterface.php \Symfony\Component\HttpKernel\HttpCache\StoreInterface::lock()

Locks the cache for a given Request.

Parameters

Request $request A Request instance:

Return value

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

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

File

vendor/symfony/http-kernel/HttpCache/StoreInterface.php, line 63

Class

StoreInterface
Interface implemented by HTTP cache stores.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function lock(Request $request);