| 1 | <?php |
||
| 12 | class UpsertTimelineEvent extends BaseJob |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | public $id; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | public $typeId; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | public $payload = []; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var IntegrationConnectionInterface |
||
| 31 | */ |
||
| 32 | public $connection; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param \craft\queue\QueueInterface|\yii\queue\Queue $queue |
||
| 36 | * @return bool|false|string |
||
| 37 | * @throws \yii\base\InvalidConfigException |
||
| 38 | */ |
||
| 39 | public function execute($queue) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @inheritdoc |
||
| 51 | */ |
||
| 52 | protected function defaultDescription(): string |
||
| 56 | } |
||
| 57 |