ldc-boutique-cnc/app/Enums/Order/OrderProcess.php
2022-12-19 16:20:00 +01:00

44 lines
926 B
PHP

<?php
namespace App\Enums\Order;
use Kwaadpepper\Enum\BaseEnumRoutable;
/**
* @method static self reviewBasket()
* @method static self shippment()
* @method static self shippingMethod()
* @method static self paymentReview()
*/
final class OrderProcess extends BaseEnumRoutable
{
/**
* Values
*
* @return array
*/
protected static function values(): array
{
return [
'reviewBasket' => 0,
'shippingMethod' => 1,
'shippment' => 2,
'paymentReview' => 3
];
}
/**
* Labels
*
* @return array
*/
protected static function labels(): array
{
return [
'reviewBasket' => trans('Panier'),
'shippingMethod' => trans('Expédition - mode'),
'shippment' => trans('Expédition - détails'),
'paymentReview' => trans('Paiement')
];
}
}