Symfony\Component\HttpFoundation\HeaderBag::contains
Returns true if the given HTTP header contains the given value.
Signature
public function contains(string
$key,
string
$value )
Parameters
$key
— string- The HTTP header name
$value
— string- The HTTP value
Returns
- Boolean
- true if the value is contained in the header, false otherwise