public function Request::isNoCache in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::isNoCache()
Return value
bool
File
- vendor/
symfony/ http-foundation/ Request.php, line 1530
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
public function isNoCache() {
return $this->headers
->hasCacheControlDirective('no-cache') || 'no-cache' == $this->headers
->get('Pragma');
}