Console Tool Refactoring

This commit is contained in:
mathias committed 2023-07-26 18:21:51 +02:00
1 parent b5836f4ae9
commit 10d7b09c5f
36 files changed
+1605 -427

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace App\Options;
enum Short: string
{
case ACTION = 'a';
case FILE = 'f';
public static function asString(): string
{
return implode(':', array_column(self::cases(), 'value')) . ':';
}
}