mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 20:17:46 +02:00
refactor: remove fields from podcast and episode entities to be replaced with plugins
This commit is contained in:
parent
11ccd0ebe7
commit
b869acb3a9
47 changed files with 463 additions and 928 deletions
|
|
@ -6,17 +6,17 @@ namespace Modules\Plugins\Core;
|
|||
|
||||
use App\Entities\Episode;
|
||||
use App\Entities\Podcast;
|
||||
use App\Libraries\SimpleRSSElement;
|
||||
use App\Libraries\RssFeed;
|
||||
|
||||
interface PluginInterface
|
||||
{
|
||||
public function rssBeforeChannel(Podcast $podcast): void;
|
||||
|
||||
public function rssAfterChannel(Podcast $podcast, SimpleRSSElement $channel): void;
|
||||
public function rssAfterChannel(Podcast $podcast, RssFeed $channel): void;
|
||||
|
||||
public function rssBeforeItem(Episode $episode): void;
|
||||
|
||||
public function rssAfterItem(Episode $episode, SimpleRSSElement $item): void;
|
||||
public function rssAfterItem(Episode $episode, RssFeed $item): void;
|
||||
|
||||
public function siteHead(): void;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue