feat(plugins): load and validate plugin manifest.json

This commit is contained in:
Yassine Doghri 2024-05-06 16:00:47 +00:00
commit 1510e36c0a
21 changed files with 565 additions and 318 deletions

View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace Modules\Plugins\Core;
use App\Entities\Episode;
use App\Entities\Podcast;
use App\Libraries\SimpleRSSElement;
interface PluginInterface
{
public function channelTag(Podcast $podcast, SimpleRSSElement $channel): void;
public function itemTag(Episode $episode, SimpleRSSElement $item): void;
public function siteHead(): void;
}