id; } /** * Get key. * * @return string */ public function getKey() { return $this->key; } /** * Get label. * * @return string */ public function getLabel() { return $this->label; } public function getPerson(): Person { return $this->person; } /** * Set key. * * @return PersonAltName */ public function setKey(?string $key) { $this->key = (string) $key; return $this; } /** * Set label. * * @return PersonAltName */ public function setLabel(?string $label) { $this->label = (string) $label; return $this; } /** * @return $this */ public function setPerson(?Person $person = null) { $this->person = $person; return $this; } }