1 | <?php |
||
10 | class MimePartAttachmentParser implements AttachmentParserInterface |
||
11 | { |
||
12 | use AttachmentHelperTrait; |
||
13 | |||
14 | /** |
||
15 | * @param string|resource|array|Mime\Part $attachment |
||
16 | * @param string|null $attachmentName |
||
17 | * @return Mime\Part |
||
18 | * @throws InvalidAttachmentException |
||
19 | */ |
||
20 | public function parse($attachment, string $attachmentName = null): Mime\Part |
||
28 | } |
||
29 |