impersonatedUser = $impersonatedUser; } /** * @return User */ public function getImpersonatedUser() { return $this->impersonatedUser; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Impersonation::class, 'Google_Service_DriveActivity_Impersonation');