PHP Class Spatie\Analytics\AnalyticsClientFactory

ファイルを表示 Open project: spatie/laravel-analytics Class Usage Examples

Public Methods

Method Description
createAuthenticatedGoogleClient ( array $config ) : Google_Client
createForConfig ( array $analyticsConfig ) : AnalyticsClient

Protected Methods

Method Description
createAnalyticsClient ( array $analyticsConfig, Google_Service_Analytics $googleService ) : AnalyticsClient

Method Details

createAnalyticsClient() protected static method

protected static createAnalyticsClient ( array $analyticsConfig, Google_Service_Analytics $googleService ) : AnalyticsClient
$analyticsConfig array
$googleService Google_Service_Analytics
return AnalyticsClient

createAuthenticatedGoogleClient() public static method

public static createAuthenticatedGoogleClient ( array $config ) : Google_Client
$config array
return Google_Client

createForConfig() public static method

public static createForConfig ( array $analyticsConfig ) : AnalyticsClient
$analyticsConfig array
return AnalyticsClient