HeaderBag is a container for HTTP headers.
@author Fabien Potencier <fabien@symfony.com>
@api
Expanded class hierarchy of HeaderBag
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HeaderBag:: |
protected | property | ||
HeaderBag:: |
protected | property | ||
HeaderBag:: |
public | function | Adds new headers the current HTTP headers set. | |
HeaderBag:: |
public | function | ||
HeaderBag:: |
public | function | Returns the headers. | |
HeaderBag:: |
public | function | Returns true if the given HTTP header contains the given value. | |
HeaderBag:: |
public | function | Returns the number of headers. | |
HeaderBag:: |
public | function | Returns a header value by name. | |
HeaderBag:: |
public | function | 1 | |
HeaderBag:: |
protected | function | ||
HeaderBag:: |
public | function | Returns the HTTP header value converted to a date. | |
HeaderBag:: |
public | function | Returns an iterator for headers. | |
HeaderBag:: |
public | function | Returns true if the HTTP header is defined. | |
HeaderBag:: |
public | function | 1 | |
HeaderBag:: |
public | function | Returns the parameter keys. | |
HeaderBag:: |
protected | function | Parses a Cache-Control HTTP header. | |
HeaderBag:: |
public | function | Removes a header. | 1 |
HeaderBag:: |
public | function | ||
HeaderBag:: |
public | function | Replaces the current HTTP headers by a new set. | 1 |
HeaderBag:: |
public | function | Sets a header by name. | 1 |
HeaderBag:: |
public | function | Constructor. | 1 |
HeaderBag:: |
public | function | Returns the headers as a string. | 1 |