getVersion() 공개 메소드

The API version that will be used on the Marketplace.
public getVersion ( ) : string
리턴 string eg 2.0
예제 #1
0
파일: Client.php 프로젝트: piwik/piwik
 private function getCacheKey($action, $query)
 {
     $version = $this->service->getVersion();
     return sprintf('marketplace.api.%s.%s.%s', $version, str_replace('/', '.', $action), md5($query));
 }