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