Zend\Http\Header\GenericHeader::splitHeaderLine
Splits the header line in `name` and `value` parts.
Signature
public function splitHeaderLine(string
$headerLine )
Parameters
$headerLine
— string
Returns
- array
- `name` in the first index and `value` in the second.
Errors/Exceptions
-
InvalidArgumentException
- If header does not match with the format ``name:value``