You are here

public function HttpHeaderBagInterface::has in RESTful 7.2

Checks the existence of a header in the bag.

Parameters

string $key: The header ID or header name.

Return value

bool TRUE if the header is present. FALSE otherwise.

1 method overrides HttpHeaderBagInterface::has()
HttpHeaderBag::has in src/Http/HttpHeaderBag.php
Checks the existence of a header in the bag.

File

src/Http/HttpHeaderBagInterface.php, line 34
Contains \Drupal\restful\Http\HttpHeaderBagInterface.

Class

HttpHeaderBagInterface

Namespace

Drupal\restful\Http

Code

public function has($key);