Console Tool Refactoring

This commit is contained in:
2023-07-26 18:21:51 +02:00
parent b5836f4ae9
commit 10d7b09c5f
36 changed files with 1605 additions and 427 deletions
+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')) . ':';
}
}