value, 'closure.'); } /** * Check if this is an attribute poll. */ public function isAttribute(): bool { return str_starts_with($this->value, 'attribute.'); } /** * Check equality with another PollId. */ public function equals(self $other): bool { return $this->value === $other->value; } public function __toString(): string { return $this->value; } }