mirror of
https://git.crystalyx.net/Xefir/repod.git
synced 2024-12-29 02:03:41 +01:00
17 lines
429 B
PHP
17 lines
429 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\GPodderSync\Core\PodcastData;
|
|
|
|
interface PodcastDataReader
|
|
{
|
|
public function getCachedOrFetchPodcastData(string $url, string $userId): ?PodcastData;
|
|
|
|
public function fetchPodcastData(string $url, string $userId): ?PodcastData;
|
|
|
|
public function tryGetCachedPodcastData(string $url): ?PodcastData;
|
|
|
|
public function trySetCachedPodcastData(string $url, PodcastData $data): bool;
|
|
}
|