return;
} $this->headerNames
[$uniqueKey] =
$key;
parent::
set($key,
$values,
$replace);
// ensure the cache-control header has sensible defaults
if (\
in_array($uniqueKey,
['cache-control', 'etag', 'last-modified', 'expires'
], true
) && '' !==
$computed =
$this->
computeCacheControlValue()) { $this->headers
['cache-control'
] =
[$computed];
$this->headerNames
['cache-control'
] = 'Cache-Control';
$this->computedCacheControl =
$this->
parseCacheControl($computed);
} } /**
* @return void
*/
public function remove(string
$key) { $uniqueKey =
strtr($key, self::UPPER, self::LOWER
);
unset($this->headerNames
[$uniqueKey]);