2023-08-24 10:48:10 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace OCA\GPodderSync\Db\SubscriptionChange;
|
|
|
|
|
|
|
|
class SubscriptionChangeRepository
|
|
|
|
{
|
2024-09-19 06:27:04 +00:00
|
|
|
public function __construct(
|
|
|
|
private SubscriptionChangeMapper $subscriptionChangeMapper
|
|
|
|
) {}
|
2023-08-24 10:48:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return SubscriptionChangeEntity[]
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findAll() {}
|
2023-08-24 10:48:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return ?SubscriptionChangeEntity
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findByUrl(string $episode, string $userId) {}
|
2023-08-24 10:48:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return SubscriptionChangeEntity[]
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findAllSubscribed(\DateTime $sinceTimestamp, string $userId) {}
|
2023-08-24 10:48:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @return SubscriptionChangeEntity[]
|
|
|
|
*/
|
2023-12-23 16:25:20 +00:00
|
|
|
public function findAllUnSubscribed(\DateTime $sinceTimestamp, string $userId) {}
|
2023-08-24 10:48:10 +00:00
|
|
|
}
|