jikan-rest/app/Enums/ClubOrderByEnum.php

29 lines
558 B
PHP
Raw Normal View History

<?php
namespace App\Enums;
use Spatie\Enum\Laravel\Enum;
/**
* @method static self mal_id()
2023-01-28 21:13:57 +00:00
* @method static self name()
* @method static self members_count()
* @method static self created()
*
* @OA\Schema(
* schema="club_search_query_orderby",
* description="Club Search Query OrderBy",
* type="string",
2023-01-28 21:13:57 +00:00
* enum={"mal_id","name","members_count","created"}
* )
*/
final class ClubOrderByEnum extends Enum
{
2023-01-28 21:13:57 +00:00
protected static function labels(): array
{
return [
"members_count" => "members"
];
}
}