a = $a; $this->b = $b; } public function equals(object $other) : bool { if ($other === $this) { return true; } return $other instanceof self && Equality::equals($this->a, $other->a) && Equality::equals($this->b, $other->b); } public function hashCode() : int { return Hasher::hash($this->a, $this->b); } public function __toString() : string { return \sprintf('%s, %s', (string) $this->a, (string) $this->b); } }