for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stu\Lib\Map\VisualPanel\Layer;
enum PanelLayerEnum: int
{
case BACKGROUND = 1;
case SYSTEM = 2;
case MAP = 3;
case COLONY_SHIELD = 4;
case SUBSPACE_SIGNATURES = 5;
case SPACECRAFT_COUNT = 6;
case BORDER = 7;
case ANOMALIES = 8;
public function isAffectedByLssBlockade(): bool
return match ($this) {
self::MAP,
self::SYSTEM => false,
default => true
};
}