MimePartFactory
Description of MimePartFactory
Tags
Table of Contents
- $headerFactory : HeaderFactory
- $messageWriterService : MessageWriterService
- __construct() : mixed
- Creates a MimePartFactory instance with its dependencies.
- newMimePart() : MimePart
- Constructs a new MimePart object and returns it
- newNonMimePart() : NonMimePart
- Constructs a new NonMimePart object and returns it
- newUUEncodedPart() : mixed
- Constructs a new UUEncodedPart object and returns it
Properties
$headerFactory
protected
HeaderFactory
$headerFactory
$messageWriterService
protected
MessageWriterService
$messageWriterService
Methods
__construct()
Creates a MimePartFactory instance with its dependencies.
public
__construct(HeaderFactory $headerFactory, MessageWriterService $messageWriterService) : mixed
Parameters
- $headerFactory : HeaderFactory
- $messageWriterService : MessageWriterService
Return values
mixed —newMimePart()
Constructs a new MimePart object and returns it
public
newMimePart() : MimePart
Return values
MimePart —newNonMimePart()
Constructs a new NonMimePart object and returns it
public
newNonMimePart() : NonMimePart
Return values
NonMimePart —newUUEncodedPart()
Constructs a new UUEncodedPart object and returns it
public
newUUEncodedPart([int $mode = 0666 ][, string $filename = 'bin' ]) : mixed
Parameters
- $mode : int = 0666
- $filename : string = 'bin'