Files
MediaCollectorLibary/app/Services/SyncServiceInterface.php
Lars Behrends 73d8441787 i dont know
2025-10-20 23:40:55 +02:00

24 lines
632 B
PHP

<?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;
}