2023-08-24 00:42:01 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\GPodderSync\Db\EpisodeAction;
|
|
|
|
|
|
|
|
use OCA\GPodderSync\Core\EpisodeAction\EpisodeAction;
|
|
|
|
|
|
|
|
class EpisodeActionRepository
|
|
|
|
{
|
2023-12-23 17:25:20 +01:00
|
|
|
public function __construct(private EpisodeActionMapper $episodeActionMapper) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return EpisodeAction[]
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findAll(int $sinceEpoch, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeAction
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findByEpisodeUrl(string $episodeUrl, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?EpisodeAction
|
|
|
|
*/
|
2023-12-23 17:25:20 +01:00
|
|
|
public function findByGuid(string $guid, string $userId) {}
|
2023-08-24 00:42:01 +02:00
|
|
|
|
2023-12-23 17:25:20 +01:00
|
|
|
public function deleteEpisodeActionByEpisodeUrl(string $episodeUrl, string $userId): void {}
|
2023-08-24 00:42:01 +02:00
|
|
|
}
|