offsetSet() public method
Adds the header to the collection.
This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $collection[$name] = $header;. This is equivalent to add().
| public void offsetSet ( $name, $value ) | ||
|---|---|---|
| $name | string |
The header name |
| $value | string |
The header value to be added |
Please login to continue.