repod/stubs/OCA/GPodderSync/Core/PodcastData/PodcastMetrics.php

29 lines
513 B
PHP

<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\PodcastData;
use JsonSerializable;
interface PodcastMetrics extends JsonSerializable
{
public function getUrl(): string;
public function getActionCounts(): PodcastActionCounts;
public function getListenedSeconds(): int;
public function addListenedSeconds(int $seconds): void;
/**
* @return array<string,mixed>
*/
public function toArray(): array;
/**
* @return array<string,mixed>
*/
public function jsonSerialize(): array;
}