1 | <?php |
||
12 | class SyncAssetsCommand extends AbstractSyncCommand |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $signature = 'contentful:assets:sync |
||
19 | {--ignoreExisting : Whether to ignore existing entries, i.e. only synchronize new entries.} |
||
20 | {--batchSize=100 : The number of items to request from Contentful in one batch. Defaults to 100.}'; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Synchronizes assets/media from Contentful'; |
||
26 | |||
27 | /** |
||
28 | * @inheritdoc |
||
29 | */ |
||
30 | protected function getQuery(?string $contentType = null): Query |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function handle() |
||
73 | } |
||
74 |