removed docblock for isNoCache
This commit is contained in:
parent
2648ff273e
commit
9908d51da8
@ -770,11 +770,6 @@ class Request
|
|||||||
return preg_split('/\s*,\s*/', $this->headers->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY);
|
return preg_split('/\s*,\s*/', $this->headers->get('if_none_match'), null, PREG_SPLIT_NO_EMPTY);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Checks whether cached response must be successfully revalidated by the origin server.
|
|
||||||
*
|
|
||||||
* @return Boolean
|
|
||||||
*/
|
|
||||||
public function isNoCache()
|
public function isNoCache()
|
||||||
{
|
{
|
||||||
return $this->headers->hasCacheControlDirective('no-cache') || 'no-cache' == $this->headers->get('Pragma');
|
return $this->headers->hasCacheControlDirective('no-cache') || 'no-cache' == $this->headers->get('Pragma');
|
||||||
|
Reference in New Issue
Block a user