23 lines
376 B
PHP
23 lines
376 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace OCA\GPodderSync\Core\PodcastData;
|
||
|
|
||
|
use JsonSerializable;
|
||
|
|
||
|
interface PodcastActionCounts extends JsonSerializable
|
||
|
{
|
||
|
public function incrementAction(string $action): void;
|
||
|
|
||
|
/**
|
||
|
* @return array<string, int>
|
||
|
*/
|
||
|
public function toArray(): array;
|
||
|
|
||
|
/**
|
||
|
* @return array<string, int>
|
||
|
*/
|
||
|
public function jsonSerialize(): array;
|
||
|
}
|