| 1 | <?php |
||
| 9 | class CreatePastePayload |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Paste |
||
| 13 | */ |
||
| 14 | private $paste; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $encryptionKey; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * CreatePastePayload constructor. |
||
| 23 | * |
||
| 24 | * @param Paste $paste |
||
| 25 | * @param string $encryptionKey |
||
| 26 | */ |
||
| 27 | 4 | public function __construct(Paste $paste, string $encryptionKey) |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @return Paste |
||
| 35 | */ |
||
| 36 | 1 | public function getPaste(): Paste |
|
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | 1 | public function getEncryptionKey(): string |
|
| 48 | } |
||
| 49 |