getVersion() public méthode

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