repod/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php

17 lines
429 B
PHP
Raw Normal View History

2023-08-02 10:13:16 +00:00
<?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;
}