PHP Class Backend\Modules\Analytics\GoogleClient\ClientFactory

Author: Wouter Sioen ([email protected])
Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
__construct ( ModulesSettings $modulesSettings, string $cacheDir )
createAnalyticsService ( ) : Google_Service_Analytics
createClient ( ) : Google_Client Creates a google client

Method Details

__construct() public method

public __construct ( ModulesSettings $modulesSettings, string $cacheDir )
$modulesSettings common\ModulesSettings
$cacheDir string

createAnalyticsService() public method

public createAnalyticsService ( ) : Google_Service_Analytics
return Google_Service_Analytics

createClient() public method

Creates a google client
public createClient ( ) : Google_Client
return Google_Client