$entries
$entries : array
Class HttpHeaders. Holds HTTP Headers.
__construct(array $headers = array())
HttpHeaders constructor.
array | $headers |
add( $key, $value) : $this
Add/replace a header value.
$key | ||
$value |
get( $key, null $defaultValue = null) : string
Get a header value.
$key | ||
null | $defaultValue |
has( $key) : boolean
Check if a header value is defined.
$key |
remove( $key) : $this
Remove a header value by key.
$key |
all() : array
Get all defined header entries.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293count() : array
Get the total count of defined header entries.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/gidriss/miva/tools/api-sdk/sdk-tools/phpDocumentor.phar/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1293