프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cache | Illuminate\Contracts\Cache\Repository | ||
$cacheLifeTimeInMinutes | integer | ||
$service | Google_Service_Analytics |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | string |
public getAnalyticsService ( ) : Google_Service_Analytics | ||
리턴 | Google_Service_Analytics |
public setCacheLifeTimeInMinutes ( integer $cacheLifeTimeInMinutes ) : self | ||
$cacheLifeTimeInMinutes | integer | |
리턴 | self |
protected Repository,Illuminate\Contracts\Cache $cache | ||
리턴 | Illuminate\Contracts\Cache\Repository |