familyName = $familyName; } /** * @return string */ public function getFamilyName() { return $this->familyName; } /** * @param string */ public function setGivenName($givenName) { $this->givenName = $givenName; } /** * @return string */ public function getGivenName() { return $this->givenName; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PlayerName::class, 'Google_Service_Games_PlayerName');