mirror of
https://github.com/ceratic/MediaCollectorLibary.git
synced 2026-05-13 23:56:46 +02:00
i dont know
This commit is contained in:
23
app/Services/SyncServiceInterface.php
Normal file
23
app/Services/SyncServiceInterface.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
interface SyncServiceInterface
|
||||
{
|
||||
/**
|
||||
* Synchronize media from the source
|
||||
*
|
||||
* @param array $source The source configuration
|
||||
* @param string $type Sync type (full, scan, update)
|
||||
* @param callable $progressCallback Callback for progress updates
|
||||
* @return array Result of the sync operation
|
||||
*/
|
||||
public function sync($source, string $type = 'full', callable $progressCallback = null): array;
|
||||
|
||||
/**
|
||||
* Get the supported source types
|
||||
*
|
||||
* @return array Array of supported source types
|
||||
*/
|
||||
public function getSupportedTypes(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user