repod/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php
Michel Roux df30ff2318
All checks were successful
repod / nextcloud (push) Successful in 47s
repod / nodejs (push) Successful in 1m18s
Readd gpodder stubs
2023-08-02 12:13:16 +02:00

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