1
0
mirror of https://github.com/robonen/metr.git synced 2026-03-20 10:54:41 +00:00

Offer and order controllers

This commit is contained in:
2022-05-27 12:01:28 +07:00
parent c4f98fdb58
commit dc539ed911
21 changed files with 493 additions and 29 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace App\Enums;
trait Arrayable
{
/**
* @return array
*/
public static function values(): array
{
return array_column(self::cases(), 'value');
}
}