You are here

public function HttpHeaderBagInterface::get in RESTful 7.2

Get the the header object for a header name or ID.

Parameters

string $key: The header ID or header name.

Return value

HttpHeaderInterface The header object.

1 method overrides HttpHeaderBagInterface::get()
HttpHeaderBag::get in src/Http/HttpHeaderBag.php
Get the the header object for a header name or ID.

File

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

Class

HttpHeaderBagInterface

Namespace

Drupal\restful\Http

Code

public function get($key);