RePod-Nextcloud-App/stubs/OCA/GPodderSync/Db/SubscriptionChange/SubscriptionChangeMapper.php

38 lines
817 B
PHP
Raw Normal View History

2023-08-24 12:48:10 +02: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 17:50:52 +01:00
protected $tableName;
protected $entityClass;
protected $db;
2023-12-23 17:25:20 +01:00
public function __construct(IDBConnection $db) {}
2023-08-24 12:48:10 +02:00
/**
* @return SubscriptionChangeEntity[]
*/
2023-12-23 17:25:20 +01:00
public function findAll(string $userId) {}
2023-08-24 12:48:10 +02:00
/**
* @return ?SubscriptionChangeEntity
*/
2023-12-23 17:25:20 +01:00
public function findByUrl(string $url, string $userId) {}
2023-08-24 12:48:10 +02:00
2023-12-23 17:25:20 +01:00
public function remove(SubscriptionChangeEntity $subscriptionChangeEntity): void {}
2023-08-24 12:48:10 +02:00
/**
* @return SubscriptionChangeEntity[]
*/
2023-12-23 17:25:20 +01:00
public function findAllSubscriptionState(bool $subscribed, \DateTime $sinceTimestamp, string $userId) {}
2023-08-24 12:48:10 +02:00
}