for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stu\Component\Ship\Wormhole;
enum WormholeEntryModeEnum: int
{
case ALLOW = 1;
case DENY = 2;
public function getDescription(): string
return match ($this) {
self::ALLOW => 'Erlaubt',
self::DENY => 'Verboten'
};
}