emoji = $emoji; } /** * @return Emoji */ public function getEmoji() { return $this->emoji; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param User */ public function setUser(User $user) { $this->user = $user; } /** * @return User */ public function getUser() { return $this->user; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Reaction::class, 'Google_Service_HangoutsChat_Reaction');