RePod-Nextcloud-App/stubs/OCA/GPodderSync/Core/PodcastData/PodcastDataReader.php

37 lines
529 B
PHP

<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\PodcastData;
class PodcastDataReader
{
/**
* @return ?PodcastData
*/
public function getCachedOrFetchPodcastData(string $url, string $userId)
{
}
/**
* @return ?PodcastData
*/
public function fetchPodcastData(string $url, string $userId)
{
}
/**
* @return ?PodcastData
*/
public function tryGetCachedPodcastData(string $url)
{
}
/**
* @return bool
*/
public function trySetCachedPodcastData(string $url, PodcastData $data)
{
}
}