Proje dosyaları eklendi

This commit is contained in:
2026-08-29 15:53:53 +03:00
commit d3313400ca
440 changed files with 24827 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<?php
namespace App\Enums;
enum KeywordDevice:string { case Desktop='desktop'; case Mobile='mobile'; public function label():string{return match($this){self::Desktop=>__('states.desktop'),self::Mobile=>__('states.mobile')};} public static function options():array{return collect(self::cases())->mapWithKeys(fn($v)=>[$v->value=>$v->label()])->all();} }