public function getVersion() { return $this->version; }
private function getCacheKey($action, $query) { $version = $this->service->getVersion(); return sprintf('marketplace.api.%s.%s.%s', $version, str_replace('/', '.', $action), md5($query)); }