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

17 lines
429 B
PHP
Raw Normal View History

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