You are here

public static function HttpHeaderInterface::generateId in RESTful 7.2

Generates the header ID based on the header name.

Parameters

string $name: The header name.

Return value

string The ID.

2 methods override HttpHeaderInterface::generateId()
HttpHeader::generateId in src/Http/HttpHeader.php
Generates the header ID based on the header name.
HttpHeaderNull::generateId in src/Http/HttpHeaderNull.php
Generates the header ID based on the header name.

File

src/Http/HttpHeaderInterface.php, line 81
Contains \Drupal\restful\Http\HttpHeaderInterface

Class

HttpHeaderInterface

Namespace

Drupal\restful\Http

Code

public static function generateId($name);