Abstract base class representing a mime email's header.
The base class sets up the header's consumer for parsing, sets the name of
the header, and calls the consumer to parse the header's value.
AbstractHeader::getConsumer is an abstract method that must be overridden to
return an appropriate Consumer\AbstractConsumer type.
- author Zaahid Bateson
Abstract
Methods |
public __construct(ZBateson Assigns the header's name and raw value, then calls getConsumer and
|
public __toString() : string |
public getName() |
public getParts() |
public getRawValue() |
public getValue() |
Properties |
protected $name
|
protected $parts
|
protected $rawValue
|
Methods |
protected abstract getConsumer(ZBateson Returns the header's Consumer
|
protected setParseHeaderValue(ZBateson Calls the consumer and assigns the parsed parts to member variables. The default implementation assigns the returned value to $this->part.
|