1
0
forked from metin2/web

Shop improvements, renamed "shop" to "mall", support for Argon2ID

This commit is contained in:
2024-06-02 22:09:52 +03:00
parent 83f4f72b6e
commit 63d0d2ac79
1932 changed files with 729 additions and 514 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace App\Models\Enums;
enum MallItemPricingEnum: string
{
case CASH = 'CASH';
case MILEAGE = 'MILEAGE';
public function description(): string
{
return match($this) {
self::CASH => __('mall/main.currency.cash'),
self::MILEAGE => __('mall/main.currency.mileage')
};
}
}