| 1 | <?php |
||
| 12 | final class AppendDataRequest implements RequestInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var Tag |
||
| 16 | */ |
||
| 17 | private $tag; |
||
| 18 | /** |
||
| 19 | * @var MessageInterface |
||
| 20 | */ |
||
| 21 | private $message; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * AuthPlainCredentialsRequest constructor. |
||
| 25 | * @param Tag $tag |
||
| 26 | * @param MessageInterface $message |
||
| 27 | */ |
||
| 28 | public function __construct(Tag $tag, MessageInterface $message) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return StreamInterface |
||
| 36 | */ |
||
| 37 | public function toStream(): StreamInterface |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return Tag |
||
| 44 | */ |
||
| 45 | public function getTag(): Tag |
||
| 49 | } |