MailMimeParser 3.0

MimeTokenPartFactory extends HeaderPartFactory
in package

Extends HeaderPartFactory to instantiate MimeTokens for its newInstance method.

Tags
author

Zaahid Bateson

Table of Contents

$charsetConverter  : MbWrapper
$logger  : LoggerInterface
__construct()  : mixed
newAddress()  : AddressPart
Initializes and returns a new AddressPart.
newAddressGroupPart()  : AddressGroupPart
Initializes and returns a new AddressGroupPart
newCommentPart()  : CommentPart
Initializes and returns a new CommentPart.
newContainerPart()  : ContainerPart
Initializes and returns a new ContainerPart.
newDatePart()  : DatePart
Initializes and returns a new DatePart
newInstance()  : IHeaderPart
Creates and returns a MimeToken.
newMimeToken()  : MimeToken
Initializes and returns a new MimeToken.
newParameterPart()  : ParameterPart
Initializes and returns a new ParameterPart.
newQuotedLiteralPart()  : QuotedLiteralPart
Initializes and returns a new QuotedLiteralPart.
newReceivedDomainPart()  : ReceivedDomainPart
Initializes and returns a new ReceivedDomainPart.
newReceivedPart()  : ReceivedPart
Initializes and returns a new ReceivedPart.
newSplitParameterPart()  : SplitParameterPart
Instantiates and returns a SplitParameterPart.
newSubjectToken()  : SubjectToken
Initializes and returns a new SubjectToken.
newToken()  : Token
Initializes and returns a new Token.

Properties

$charsetConverter

protected MbWrapper $charsetConverter

passed to IHeaderPart constructors for converting strings in IHeaderPart::convertEncoding

Methods

__construct()

public __construct(LoggerInterface $logger, MbWrapper $charsetConverter) : mixed
Parameters
$logger : LoggerInterface
$charsetConverter : MbWrapper
Return values
mixed

newToken()

Initializes and returns a new Token.

public newToken(string $value[, bool $isLiteral = false ][, bool $preserveSpaces = false ]) : Token
Parameters
$value : string
$isLiteral : bool = false
$preserveSpaces : bool = false
Return values
Token

Search results