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

55 lines
711 B
PHP
Raw Normal View History

2023-08-02 10:13:16 +00:00
<?php
declare(strict_types=1);
namespace OCA\GPodderSync\Core\PodcastData;
/**
* @psalm-type PodcastMetricsType = array{
* url: string,
* listenedSeconds: int,
* actionCounts: PodcastActionCounts
* }
*/
2023-08-03 22:23:59 +00:00
class PodcastMetrics implements \JsonSerializable
2023-08-02 10:13:16 +00:00
{
2023-08-03 22:23:59 +00:00
/**
* @return string
*/
public function getUrl()
{
}
2023-08-02 10:13:16 +00:00
2023-08-03 22:23:59 +00:00
/**
* @return PodcastActionCounts
*/
public function getActionCounts()
{
}
2023-08-02 10:13:16 +00:00
2023-08-03 22:23:59 +00:00
/**
* @return int
*/
public function getListenedSeconds()
{
}
2023-08-02 10:13:16 +00:00
2023-08-03 22:23:59 +00:00
public function addListenedSeconds(int $seconds): void
{
}
2023-08-02 10:13:16 +00:00
/**
* @return PodcastMetricsType
*/
2023-08-03 22:23:59 +00:00
public function toArray()
{
}
2023-08-02 10:13:16 +00:00
/**
* @return PodcastMetricsType
*/
2023-08-03 22:23:59 +00:00
public function jsonSerialize(): mixed
{
}
2023-08-02 10:13:16 +00:00
}