RePod-Nextcloud-App/stubs/OCA/GPodderSync/Db/SubscriptionChange/SubscriptionChangeRepositor...

31 lines
670 B
PHP
Raw Normal View History

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