Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
ddeboer
/
imap
/
src
/
Message
:
AttachmentInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace Ddeboer\Imap\Message; use Ddeboer\Imap\Exception\NotEmbeddedMessageException; /** * An e-mail attachment. */ interface AttachmentInterface extends PartInterface { /** * Get attachment filename. */ public function getFilename(): ?string; /** * Get attachment file size. * * @return null|int Number of bytes */ public function getSize(); /** * Is this attachment also an Embedded Message? */ public function isEmbeddedMessage(): bool; /** * Return embedded message. * * @throws NotEmbeddedMessageException * * @return EmbeddedMessageInterface<PartInterface> */ public function getEmbeddedMessage(): EmbeddedMessageInterface; }