Copied!

Constructs and returns IHeaderPart objects.

CloneableInstantiable
Methods
public __construct(ZBateson\MbWrapper\MbWrapper $charsetConverter)
 

Sets up dependencies.

public newAddressGroupPart(array $addresses, $name = '')
 

Initializes and returns a new AddressGroupPart

  • param string $name
  • return \AddressGroupPart
public newAddressPart( $name, $email)
 

Initializes and returns a new AddressPart.

  • param string $name
  • param string $email
  • return \AddressPart
public newCommentPart( $value)
 

Initializes and returns a new CommentPart.

  • param string $value
  • return \CommentPart
public newDatePart( $value)
 

Initializes and returns a new DatePart

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

Creates and returns a default IHeaderPart for this factory, allowing subclass factories for specialized IHeaderParts.

The default implementation returns a new Token.

  • return \IHeaderPart
public newLiteralPart( $value)
 

Initializes and returns a new LiteralPart.

  • param string $value
  • return \LiteralPart
public newMimeLiteralPart( $value)
 

Initializes and returns a new MimeLiteralPart.

  • param string $value
  • return \MimeLiteralPart
public newParameterPart( $name, $value, $language = NULL)
 

Initializes and returns a new ParameterPart.

  • param string $name
  • param string $value
  • param string $language
  • return \ParameterPart
public 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 newReceivedPart( $name, $value)
 

Initializes and returns a new ReceivedPart.

  • param string $name
  • param string $value
  • return \ReceivedPart
public newSplitParameterToken( $name)
 

Instantiates and returns a SplitParameterToken with the given name.

  • param string $name
  • return \SplitParameterToken
public newToken(string $value)
 

Initializes and returns a new Token.

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