$volatileHeaders->strip()
Strips volatile headers from the provided header array
$volatileHeaders->strip(array $headers, array|null $volatile = null): array
Parameters
| Name | Type | Default |
|---|---|---|
| $headersrequired | array |
no default value |
| $volatile | arrayornull |
null
|
Return type
array
This method modifies the existing $volatileheaders object it is applied to and returns it again.