private function generateSignature($pathQueryString) {
      $decodedSigningKey = self::base64DecodeUrlSafe($this->getSigningKey());

      $signature = hash_hmac('sha1', $pathQueryString, $decodedSigningKey, true);
      $signature = self::base64EncodeUrlSafe($signature);

      return $signature;
    }
private function generateSignature($pathQueryString) {
      $decodedSigningKey = self::base64DecodeUrlSafe($this->getSigningKey());

      $signature = hash_hmac('sha1', $pathQueryString, $decodedSigningKey, true);
      $signature = self::base64EncodeUrlSafe($signature);

      return $signature;
    }
private function generateSignature ( $ pathQueryString ) { $ decodedSigningKey = self :: base64DecodeUrlSafe ( $ this -> getSigningKey ( ) ) ; $ signature = hash_hmac ( 'sha1' , $ pathQueryString , $ decodedSigningKey , true ) ; $ signature = self :: base64EncodeUrlSafe ( $ signature ) ; return $ signature ; }
Generate the signature for a Business client geocode request.

@link   https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
@param  string $pathQueryString path and query string of the request
@return string Base64 encoded signature that's URL safe
Generate the signature for a Business client geocode request .