jikan-rest/app/Enums/PeopleOrderByEnum.php
pushrbx a145f18bbd wip - major refactor
- AppServiceProvider is needs more work to wire in new services
- todo: more dtos
- todo: add unit tests
- todo: add more integration tests
2023-05-21 11:14:34 +01:00

29 lines
568 B
PHP

<?php
namespace App\Enums;
use Spatie\Enum\Laravel\Enum;
/**
* @method static self mal_id()
* @method static self name()
* @method static self birthday()
* @method static self favorites()
*
* @OA\Schema(
* schema="people_search_query_orderby",
* description="Available People order_by properties",
* type="string",
* enum={"mal_id", "name", "birthday", "favorites"}
* )
*/
final class PeopleOrderByEnum extends Enum
{
protected static function labels()
{
return [
"favorites" => "member_favorites"
];
}
}