public function Response::hasVary in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::hasVary()
Returns true if the response includes a Vary header.
Return value
bool true if the response includes a Vary header, false otherwise
File
- vendor/
symfony/ http-foundation/ Response.php, line 947
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function hasVary() {
return null !== $this->headers
->get('Vary');
}