32 lines
527 B
PHP
32 lines
527 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace OCA\GPodderSync\Core\EpisodeAction;
|
|
|
|
interface EpisodeAction
|
|
{
|
|
public function getPodcast(): string;
|
|
|
|
public function getEpisode(): string;
|
|
|
|
public function getAction(): string;
|
|
|
|
public function getTimestamp(): string;
|
|
|
|
public function getStarted(): int;
|
|
|
|
public function getPosition(): int;
|
|
|
|
public function getTotal(): int;
|
|
|
|
public function getGuid() : ?string;
|
|
|
|
public function getId(): int;
|
|
|
|
/**
|
|
* @return array<string,mixed>
|
|
*/
|
|
public function toArray(): array;
|
|
}
|