1 | <?php |
||
14 | class SyncAssetsCommand extends AbstractSyncCommand |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $signature = 'contentful:assets:sync |
||
21 | {--ignoreExisting : Whether to ignore existing entries, i.e. only synchronize new entries.}'; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Synchronizes assets/media from Contentful'; |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | protected function getQuery(?string $contentType = null): Query |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | protected function getTotalQuery(?string $contentType = null): Query |
||
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | public function handle() |
||
85 | } |
||
86 |