repod/stubs/OCA/GPodderSync/Db/EpisodeAction/EpisodeActionRepository.php

30 lines
654 B
PHP
Raw Normal View History

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