mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 13:07:46 +02:00
feat(plugins): load and validate plugin manifest.json
This commit is contained in:
parent
b5eddf351f
commit
1510e36c0a
21 changed files with 565 additions and 318 deletions
18
modules/Plugins/Core/PluginInterface.php
Normal file
18
modules/Plugins/Core/PluginInterface.php
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue