| 1 | <?php |
||
| 16 | final class AppendCommand extends AbstractCommand |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var Tag |
||
| 20 | */ |
||
| 21 | private $tag; |
||
| 22 | /** |
||
| 23 | * @var MailboxName |
||
| 24 | */ |
||
| 25 | private $mailbox; |
||
| 26 | /** |
||
| 27 | * @var FlagParenthesizedList|null |
||
| 28 | */ |
||
| 29 | private $flags; |
||
| 30 | /** |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | private $size; |
||
| 34 | /** |
||
| 35 | * @var \DateTimeImmutable|null |
||
| 36 | */ |
||
| 37 | private $internalDate; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * AppendCommand constructor. |
||
| 41 | * @param Tag $tag |
||
| 42 | * @param MailboxName $mailbox |
||
| 43 | * @param int $size |
||
| 44 | * @param FlagParenthesizedList|null $flags |
||
| 45 | * @param \DateTimeImmutable|null $internalDate |
||
| 46 | */ |
||
| 47 | 5 | public function __construct( |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return StreamInterface |
||
| 64 | */ |
||
| 65 | 5 | protected function createStream(): StreamInterface |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @return Tag |
||
| 80 | */ |
||
| 81 | 5 | public function getTag(): Tag |
|
| 85 | } |