getVersion() public method

The API version that will be used on the Marketplace.
public getVersion ( ) : string
return string eg 2.0
Esempio n. 1
0
 private function getCacheKey($action, $query)
 {
     $version = $this->service->getVersion();
     return sprintf('marketplace.api.%s.%s.%s', $version, str_replace('/', '.', $action), md5($query));
 }