mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-08 09:22:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use ReflectionClass;
|
||||
|
||||
trait Enum
|
||||
{
|
||||
/**
|
||||
@ -9,7 +11,7 @@ trait Enum
|
||||
*/
|
||||
public static function all(): array
|
||||
{
|
||||
$reflection = new \ReflectionClass(self::class);
|
||||
$reflection = new ReflectionClass(self::class);
|
||||
|
||||
return $reflection->getConstants();
|
||||
}
|
||||
|
Reference in New Issue
Block a user