Symfony\Component\HttpFoundation\HeaderBag::replace
Replaces the current HTTP headers by a new set.
Signature
public function replace(array
$headers )
Parameters
$headers
— array- An array of HTTP headers
public function replace(array
$headers )
$headers
—
array