mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
19 lines
296 B
PHP
19 lines
296 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
enum Origin: string
|
|
{
|
|
case FAIR = 'fair';
|
|
case WP = 'wp';
|
|
|
|
/**
|
|
* Get the list of origin values.
|
|
*
|
|
* @return array<string>
|
|
*/
|
|
public static function values(): array
|
|
{
|
|
return array_column(self::cases(), 'value');
|
|
}
|
|
}
|