Remove a Cache-Control directive from the message
string $directive Directive to remove:
Overrides MessageInterface::removeCacheControlDirective
public function removeCacheControlDirective($directive) {
if (array_key_exists($directive, $this->cacheControl)) {
unset($this->cacheControl[$directive]);
$this
->rebuildCacheControlDirective();
}
return $this;
}