Symfony\Component\HttpKernel\HttpCache\HttpCache::lock
Locks a Request during the call to the backend.
Signature
Parameters
$request
— Symfony\Component\HttpFoundation\Request- A Request instance
$entry
— Symfony\Component\HttpFoundation\Response- A Response instance
Returns
- Boolean
- true if the cache entry can be returned even if it is staled, false otherwise