Property | Type | Description | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$cacheLifeTimeInMinutes | integer | ||
$service | Google_Service_Analytics |
Method | Description | |
---|---|---|
__construct ( Google_Service_Analytics $service, Illuminate\Contracts\Cache\Repository $cache ) | ||
getAnalyticsService ( ) : Google_Service_Analytics | ||
performQuery ( string $viewId, DateTime $startDate, DateTime $endDate, string $metrics, array $others = [] ) : array | null | Query the Google Analytics Service with given parameters. | |
setCacheLifeTimeInMinutes ( integer $cacheLifeTimeInMinutes ) : self | Set the cache time. |
Method | Description | |
---|---|---|
determineCacheName ( array $properties ) : string | * Determine the cache name for the set of query properties given. |
public __construct ( Google_Service_Analytics $service, Illuminate\Contracts\Cache\Repository $cache ) | ||
$service | Google_Service_Analytics | |
$cache | Illuminate\Contracts\Cache\Repository |
protected determineCacheName ( array $properties ) : string | ||
$properties | array | |
return | string |
public getAnalyticsService ( ) : Google_Service_Analytics | ||
return | Google_Service_Analytics |
public setCacheLifeTimeInMinutes ( integer $cacheLifeTimeInMinutes ) : self | ||
$cacheLifeTimeInMinutes | integer | |
return | self |
protected Repository,Illuminate\Contracts\Cache $cache | ||
return | Illuminate\Contracts\Cache\Repository |