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