Reads headers from an input stream, adding them to a PartHeaderContainer.
- author Zaahid Bateson
CloneableInstantiable
| Methods |
| public parse( $handle, ZBateson Reads header lines up to an empty line, adding them to the passed PartHeaderContainer.
|
| Methods |
| private addRawHeaderToPart(int $offset, string $header, ZBateson Ensures the header isn't empty and contains a colon separator character, then splits it and adds it to the passed PartHeaderContainer.
|