repod/stubs/OCA/GPodderSync/Db/SubscriptionChange/SubscriptionChangeMapper.php

38 lines
817 B
PHP
Raw Normal View History

2023-08-24 10:48:10 +00:00
<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Db\SubscriptionChange;
use OCP\AppFramework\Db\QBMapper;
use OCP\IDBConnection;
/**
* @template-extends QBMapper<SubscriptionChangeEntity>
*/
class SubscriptionChangeMapper extends QBMapper
{
2023-12-23 16:50:52 +00:00
protected $tableName;
protected $entityClass;
protected $db;
2023-12-23 16:25:20 +00:00
public function __construct(IDBConnection $db) {}
2023-08-24 10:48:10 +00:00
/**
* @return SubscriptionChangeEntity[]
*/
2023-12-23 16:25:20 +00:00
public function findAll(string $userId) {}
2023-08-24 10:48:10 +00:00
/**
* @return ?SubscriptionChangeEntity
*/
2023-12-23 16:25:20 +00:00
public function findByUrl(string $url, string $userId) {}
2023-08-24 10:48:10 +00:00
2023-12-23 16:25:20 +00:00
public function remove(SubscriptionChangeEntity $subscriptionChangeEntity): void {}
2023-08-24 10:48:10 +00:00
/**
* @return SubscriptionChangeEntity[]
*/
2023-12-23 16:25:20 +00:00
public function findAllSubscriptionState(bool $subscribed, \DateTime $sinceTimestamp, string $userId) {}
2023-08-24 10:48:10 +00:00
}