value); }, self::cases()); } public static function asPropertiesForBuildings(): array { $resourceTypes = self::asProperties(); $resourceTypes = array_filter($resourceTypes, function ($resourceType) { return $resourceType !== strtolower(self::Food->value); }); return $resourceTypes; } }