feat(plugins): display errors when plugin is invalid instead of crashing

This commit is contained in:
Yassine Doghri 2024-05-16 15:53:42 +00:00
commit 8ec79097bb
9 changed files with 119 additions and 48 deletions

View file

@ -0,0 +1,12 @@
<?php
declare(strict_types=1);
namespace Modules\Plugins\Core;
enum PluginStatus: string
{
case INVALID = 'invalid';
case INACTIVE = 'inactive';
case ACTIVE = 'active';
}