feat: add Plugins module with base files for plugins architecture

This commit is contained in:
Yassine Doghri 2024-04-28 17:14:45 +00:00
commit 7253e13ac2
13 changed files with 174 additions and 0 deletions

View 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;
}