class HttpHeaderNull in RESTful 7.2
Hierarchy
- class \Drupal\restful\Http\HttpHeaderNull implements HttpHeaderInterface
Expanded class hierarchy of HttpHeaderNull
File
- src/
Http/ HttpHeaderNull.php, line 10 - Contains \Drupal\restful\Http\HttpHeaderNull
Namespace
Drupal\restful\HttpView source
class HttpHeaderNull implements HttpHeaderInterface {
/**
* Header ID.
*
* @var string
*/
protected $id;
/**
* Header name.
*
* @var string
*/
protected $name;
/**
* Header values.
*
* @var array
*/
protected $values = array();
/**
* Header extras.
*
* @var string
*/
protected $extras;
/**
* Constructor.
*/
public function __construct($name, array $values, $extras) {
}
/**
* {@inheritdoc}
*/
public static function create($key, $value) {
return new static(NULL, array(), NULL);
}
/**
* {@inheritdoc}
*/
public function get() {
return $this->values;
}
/**
* {@inheritdoc}
*/
public function getValueString() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function getName() {
return NULL;
}
/**
* Returns the string version of the header.
*
* @return string
*/
public function __toString() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function set($values) {
}
/**
* {@inheritdoc}
*/
public function append($value) {
}
/**
* {@inheritdoc}
*/
public function getId() {
return NULL;
}
/**
* {@inheritdoc}
*/
public static function generateId($name) {
return NULL;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HttpHeaderNull:: |
protected | property | Header extras. | |
HttpHeaderNull:: |
protected | property | Header ID. | |
HttpHeaderNull:: |
protected | property | Header name. | |
HttpHeaderNull:: |
protected | property | Header values. | |
HttpHeaderNull:: |
public | function |
Appends a value into a header. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public static | function |
Creates a header object from the key and value strings. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public static | function |
Generates the header ID based on the header name. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function |
Gets the values of the header. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function |
Gets the header id. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function |
Gets the header name. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function |
Gets the contents of the header. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function |
Sets the values. Overrides HttpHeaderInterface:: |
|
HttpHeaderNull:: |
public | function | Constructor. | |
HttpHeaderNull:: |
public | function | Returns the string version of the header. |