| 1 | <?php |
||
| 9 | final class ContentfulPublishEntryJob extends ContentfulSyncJob |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | private $contentType; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $entryJson; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var bool |
||
| 24 | */ |
||
| 25 | private $ignoreExisting; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * ContentfulPublishEntryJob constructor. |
||
| 29 | * |
||
| 30 | * @param string $contentType |
||
| 31 | * @param string $entryJson |
||
| 32 | * @param bool $ignoreExisting |
||
| 33 | */ |
||
| 34 | public function __construct(string $contentType, string $entryJson, bool $ignoreExisting) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @inheritdoc |
||
| 43 | */ |
||
| 44 | public function handle(): void |
||
| 49 | } |
||
| 50 |