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