repod/stubs/OCA/GPodderSync/Core/PodcastData/PodcastMetrics.php
Michel Roux 8d72eee723
All checks were successful
repod / nextcloud (push) Successful in 1m34s
repod / nodejs (push) Successful in 2m41s
Real stubs this time
2023-08-04 00:23:59 +02:00

55 lines
711 B
PHP

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