Symfony\Component\HttpKernel\HttpCache\Store::requestsMatch
Determines whether two Request HTTP header sets are non-varying based on the vary response header value provided.
Signature
private function requestsMatch(string
$vary,
array
$env1,
array
$env2 )
Parameters
$vary
— string- A Response vary header
$env1
— array- A Request HTTP header array
$env2
— array- A Request HTTP header array
Returns
- Boolean
- true if the two environments match, false otherwise