1 | <?php |
||
16 | class MimePartFactory |
||
17 | { |
||
18 | /** |
||
19 | * @var \ZBateson\MailMimeParser\Header\HeaderFactory the HeaderFactory |
||
20 | * instance |
||
21 | */ |
||
22 | protected $headerFactory; |
||
23 | |||
24 | /** |
||
25 | * Creates a MimePartFactory instance with its dependencies. |
||
26 | * |
||
27 | * @param HeaderFactory $headerFactory |
||
28 | */ |
||
29 | public function __construct(HeaderFactory $headerFactory) |
||
33 | |||
34 | /** |
||
35 | * Constructs a new MimePart object and returns it |
||
36 | * |
||
37 | * @return \ZBateson\MailMimeParser\MimePart |
||
38 | */ |
||
39 | public function newMimePart() |
||
43 | |||
44 | /** |
||
45 | * Constructs a new NonMimePart object and returns it |
||
46 | * |
||
47 | * @return \ZBateson\MailMimeParser\NonMimePart |
||
48 | */ |
||
49 | public function newNonMimePart() |
||
53 | |||
54 | /** |
||
55 | * Constructs a new UUEncodedPart object and returns it |
||
56 | * |
||
57 | * @param int $mode |
||
58 | * @param string $filename |
||
59 | */ |
||
60 | public function newUUEncodedPart($mode, $filename) |
||
64 | } |
||
65 |