learning-center/app/SharedKernel/TimeSorting.php
2024-09-08 13:48:26 +03:00

21 lines
318 B
PHP

<?php
declare(strict_types=1);
namespace App\SharedKernel;
use App\SharedKernel\Structs\Enum;
final class TimeSorting extends Enum
{
public static function newest(): self
{
return new self('newest');
}
public static function oldest(): self
{
return new self('oldest');
}
}