| 1 | <?php |
||
| 7 | class Delivery |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var int |
||
| 11 | */ |
||
| 12 | protected $watermark; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | protected $messageIds; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Delivery constructor. |
||
| 21 | */ |
||
| 22 | 1 | public function __construct(int $watermark, array $messageIds = []) |
|
| 27 | |||
| 28 | 1 | public function getWatermark(): int |
|
| 32 | |||
| 33 | 1 | public function getMessageIds(): array |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return \Kerox\Messenger\Model\Callback\Delivery |
||
| 40 | */ |
||
| 41 | 1 | public static function create(array $callbackData): self |
|
| 47 | } |
||
| 48 |