mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
18 lines
285 B
PHP
18 lines
285 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum WebhookScope: string
|
|
{
|
|
case Global = 'global';
|
|
case Server = 'server';
|
|
|
|
public function getLabel(): string
|
|
{
|
|
return match ($this) {
|
|
self::Global => 'Global',
|
|
self::Server => 'Server',
|
|
};
|
|
}
|
|
}
|