* $gamesService = new Google\Service\Games(...); * $stats = $gamesService->stats; * */ class Stats extends \Google\Service\Resource { /** * Returns engagement and spend statistics in this application for the currently * authenticated user. (stats.get) * * @param array $optParams Optional parameters. * @return StatsResponse */ public function get($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('get', [$params], StatsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Stats::class, 'Google_Service_Games_Resource_Stats');