> point value => module keys */ private array $inserts = []; private bool $testerOnly = false; private function __construct(public readonly string $key, public readonly string $label) {} public static function make(string $key, string $label): self { return new self($key, $label); } public function insert(Point $point, string $module): self { $this->inserts[$point->value][] = $module; return $this; } public function testerOnly(): self { $this->testerOnly = true; return $this; } public function isTesterOnly(): bool { return $this->testerOnly; } /** * @return list */ public function modulesAt(Point $point): array { return $this->inserts[$point->value] ?? []; } /** * @return array> */ public function inserts(): array { return $this->inserts; } }