Copied!

Extends HeaderPartFactory to instantiate MimeLiteralParts for its newInstance function.

CloneableInstantiable
Methods
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::__construct(ZBateson\MbWrapper\MbWrapper $charsetConverter)
 

Sets up dependencies.

public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newAddressGroupPart(array $addresses, $name = '')
 

Initializes and returns a new AddressGroupPart

  • param string $name
  • return \AddressGroupPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newAddressPart( $name, $email)
 

Initializes and returns a new AddressPart.

  • param string $name
  • param string $email
  • return \AddressPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newCommentPart( $value)
 

Initializes and returns a new CommentPart.

  • param string $value
  • return \CommentPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newDatePart( $value)
 

Initializes and returns a new DatePart

  • param string $value
  • return \DatePart
public newInstance(string $value)
 

Creates and returns a MimeLiteralPart.

  • return \HeaderPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newLiteralPart( $value)
 

Initializes and returns a new LiteralPart.

  • param string $value
  • return \LiteralPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newMimeLiteralPart( $value)
 

Initializes and returns a new MimeLiteralPart.

  • param string $value
  • return \MimeLiteralPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newParameterPart( $name, $value, $language = NULL)
 

Initializes and returns a new ParameterPart.

  • param string $name
  • param string $value
  • param string $language
  • return \ParameterPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newReceivedDomainPart( $name, $value, $ehloName = NULL, $hostName = NULL, $hostAddress = NULL)
 

Initializes and returns a new ReceivedDomainPart.

  • param string $name
  • param string $value
  • param string $ehloName
  • param string $hostName
  • param string $hostAddress
  • return \ReceivedDomainPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newReceivedPart( $name, $value)
 

Initializes and returns a new ReceivedPart.

  • param string $name
  • param string $value
  • return \ReceivedPart
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newSplitParameterToken( $name)
 

Instantiates and returns a SplitParameterToken with the given name.

  • param string $name
  • return \SplitParameterToken
public ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::newToken(string $value)
 

Initializes and returns a new Token.

  • return \Token
Properties
protected ZBateson\MailMimeParser\Header\Part\HeaderPartFactory::$charsetConverter = NULL
 
  • var \MbWrapper $charsetConverter passed to IHeaderPart constructors for converting strings in IHeaderPart::convertEncoding
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration