<?php
namespace DatabaseHelper\enums;

enum Order
{
    case ASC;
    case DESC;

    public function toString(): string {
        return match ($this) {
            self::ASC => 'ASC',
            self::DESC => 'DESC',
        };
    }
}