setDefault() public method
Sets a new header only if it does not exist yet.
If there is already a header with the same name, the new one will be ignored.
| public $this setDefault ( $name, $value ) | ||
|---|---|---|
| $name | string |
The name of the header |
| $value | string |
The value of the header |
| return | $this |
The collection object itself |
Please login to continue.