private function constructUserAgentHeader() { $this->userAgent = $this->quoteApplicationName($this->config->getApplicationName()) . '/' . $this->quoteApplicationVersion($this->config->getApplicationVersion()); $this->userAgent .= ' ('; $this->userAgent .= 'Language=PHP/' . phpversion(); $this->userAgent .= '; '; $this->userAgent .= 'Platform=' . php_uname('s') . '/' . php_uname('m') . '/' . php_uname('r'); $this->userAgent .= '; '; $this->userAgent .= 'MWSClientVersion=' . self::MWS_CLIENT_VERSION; $this->userAgent .= ')'; }
/** * * @return string the name of the application */ public function getApplicationName() { return $this->config->getApplicationName(); }