MimeLiteralPartFactory
extends HeaderPartFactory
in package
Extends HeaderPartFactory to instantiate MimeLiteralParts for its newInstance function.
Tags
Table of Contents
- $charsetConverter : MbWrapper
- __construct() : mixed
- Sets up dependencies.
- newAddressGroupPart() : AddressGroupPart
- Initializes and returns a new AddressGroupPart
- newAddressPart() : AddressPart
- Initializes and returns a new AddressPart.
- newCommentPart() : CommentPart
- Initializes and returns a new CommentPart.
- newDatePart() : DatePart
- Initializes and returns a new DatePart
- newInstance() : HeaderPart
- Creates and returns a MimeLiteralPart.
- newLiteralPart() : LiteralPart
- Initializes and returns a new LiteralPart.
- newMimeLiteralPart() : MimeLiteralPart
- Initializes and returns a new MimeLiteralPart.
- newParameterPart() : ParameterPart
- Initializes and returns a new ParameterPart.
- newReceivedDomainPart() : ReceivedDomainPart
- Initializes and returns a new ReceivedDomainPart.
- newReceivedPart() : ReceivedPart
- Initializes and returns a new ReceivedPart.
- newSplitParameterToken() : SplitParameterToken
- Instantiates and returns a SplitParameterToken with the given name.
- 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()
Sets up dependencies.
public
__construct(MbWrapper $charsetConverter) : mixed
Parameters
- $charsetConverter : MbWrapper
Return values
mixed —newAddressGroupPart()
Initializes and returns a new AddressGroupPart
public
newAddressGroupPart(array<string|int, mixed> $addresses[, string $name = '' ]) : AddressGroupPart
Parameters
- $addresses : array<string|int, mixed>
- $name : string = ''
Return values
AddressGroupPart —newAddressPart()
Initializes and returns a new AddressPart.
public
newAddressPart(string $name, string $email) : AddressPart
Parameters
- $name : string
- $email : string
Return values
AddressPart —newCommentPart()
Initializes and returns a new CommentPart.
public
newCommentPart(string $value) : CommentPart
Parameters
- $value : string
Return values
CommentPart —newDatePart()
Initializes and returns a new DatePart
public
newDatePart(string $value) : DatePart
Parameters
- $value : string
Return values
DatePart —newInstance()
Creates and returns a MimeLiteralPart.
public
newInstance(string $value) : HeaderPart
Parameters
- $value : string
Return values
HeaderPart —newLiteralPart()
Initializes and returns a new LiteralPart.
public
newLiteralPart(string $value) : LiteralPart
Parameters
- $value : string
Return values
LiteralPart —newMimeLiteralPart()
Initializes and returns a new MimeLiteralPart.
public
newMimeLiteralPart(string $value) : MimeLiteralPart
Parameters
- $value : string
Return values
MimeLiteralPart —newParameterPart()
Initializes and returns a new ParameterPart.
public
newParameterPart(string $name, string $value[, string $language = null ]) : ParameterPart
Parameters
- $name : string
- $value : string
- $language : string = null
Return values
ParameterPart —newReceivedDomainPart()
Initializes and returns a new ReceivedDomainPart.
public
newReceivedDomainPart(string $name, string $value[, string $ehloName = null ][, string $hostName = null ][, string $hostAddress = null ]) : ReceivedDomainPart
Parameters
- $name : string
- $value : string
- $ehloName : string = null
- $hostName : string = null
- $hostAddress : string = null
Return values
ReceivedDomainPart —newReceivedPart()
Initializes and returns a new ReceivedPart.
public
newReceivedPart(string $name, string $value) : ReceivedPart
Parameters
- $name : string
- $value : string
Return values
ReceivedPart —newSplitParameterToken()
Instantiates and returns a SplitParameterToken with the given name.
public
newSplitParameterToken(string $name) : SplitParameterToken
Parameters
- $name : string
Return values
SplitParameterToken —newToken()
Initializes and returns a new Token.
public
newToken(string $value) : Token
Parameters
- $value : string