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

29 lines
517 B
PHP
Raw Normal View History

2023-08-02 12:13:16 +02:00
<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\PodcastData;
2023-08-04 00:23:59 +02:00
class PodcastDataReader
2023-08-02 12:13:16 +02:00
{
2023-08-04 00:23:59 +02:00
/**
* @return ?PodcastData
*/
2023-12-23 17:25:20 +01:00
public function getCachedOrFetchPodcastData(string $url, string $userId) {}
2023-08-02 12:13:16 +02:00
2023-08-04 00:23:59 +02:00
/**
* @return ?PodcastData
*/
2023-12-23 17:25:20 +01:00
public function fetchPodcastData(string $url, string $userId) {}
2023-08-02 12:13:16 +02:00
2023-08-04 00:23:59 +02:00
/**
* @return ?PodcastData
*/
2023-12-23 17:25:20 +01:00
public function tryGetCachedPodcastData(string $url) {}
2023-08-02 12:13:16 +02:00
2023-08-04 00:23:59 +02:00
/**
* @return bool
*/
2023-12-23 17:25:20 +01:00
public function trySetCachedPodcastData(string $url, PodcastData $data) {}
2023-08-02 12:13:16 +02:00
}