Symfony\Component\BrowserKit\Response::getHeader
Gets a response header.
Signature
public function getHeader(string
$header,
[Boolean
$first = true] )
Parameters
$header
— string- The header name
$first
— object- Whether to return the first value or all header values
Returns
- string|array
- The first header value if $first is true, an array of values otherwise