mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-06 08:16:46 +02:00
feat: add Plugins module with base files for plugins architecture
This commit is contained in:
parent
3fd5efc795
commit
7253e13ac2
13 changed files with 174 additions and 0 deletions
16
modules/Plugins/PluginInterface.php
Normal file
16
modules/Plugins/PluginInterface.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Modules\Plugins;
|
||||
|
||||
use App\Entities\Episode;
|
||||
use App\Entities\Podcast;
|
||||
use App\Libraries\SimpleRSSElement;
|
||||
|
||||
interface PluginInterface
|
||||
{
|
||||
public function setChannelTag(Podcast $podcast, SimpleRSSElement $channel): void;
|
||||
|
||||
public function setItemTag(Episode $episode, SimpleRSSElement $item): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue