1 | <?php |
||
21 | class SyncElementToHubSpotJob extends BaseJob implements \Serializable |
||
22 | { |
||
23 | use FieldAttributeTrait, |
||
24 | ElementAttributeTrait; |
||
25 | |||
26 | /** |
||
27 | * @var string|null |
||
28 | */ |
||
29 | public $objectId; |
||
30 | |||
31 | /** |
||
32 | * @var callable|array|string |
||
33 | */ |
||
34 | public $transformer; |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | * @return bool |
||
39 | */ |
||
40 | public function execute($queue) |
||
55 | |||
56 | /** |
||
57 | * @inheritdoc |
||
58 | */ |
||
59 | public function serialize() |
||
68 | |||
69 | /** |
||
70 | * @inheritdoc |
||
71 | */ |
||
72 | public function unserialize($serialized) |
||
79 | } |
||
80 |