original_string: public function form($publicKey, $sum, $account, $desc, $currency = 'RUB', $locale = 'ru')
      {
          $vitalParams = array(
              'account'  => $account,
              'currency' => $currency,
              'desc'     => $desc,
              'sum'      => $sum
          );
  
          $this->params = array_merge($this->params, $vitalParams);
  
          if ($this->secretKey) {
              $this->params['signature'] = $this->getSignature($vitalParams);
          }
  
          $this->params['locale'] = $locale;
  
          return self::FORM_URL . $publicKey . '?' . http_build_query($this->params);
      }
code: public function form($publicKey, $sum, $account, $desc, $currency = 'RUB', $locale = 'ru')
      {
          $vitalParams = array(
              'account'  => $account,
              'currency' => $currency,
              'desc'     => $desc,
              'sum'      => $sum
          );
  
          $this->params = array_merge($this->params, $vitalParams);
  
          if ($this->secretKey) {
              $this->params['signature'] = $this->getSignature($vitalParams);
          }
  
          $this->params['locale'] = $locale;
  
          return self::FORM_URL . $publicKey . '?' . http_build_query($this->params);
      }
code_tokens: public function form ( $ publicKey , $ sum , $ account , $ desc , $ currency = 'RUB' , $ locale = 'ru' ) { $ vitalParams = array ( 'account' => $ account , 'currency' => $ currency , 'desc' => $ desc , 'sum' => $ sum ) ; $ this -> params = array_merge ( $ this -> params , $ vitalParams ) ; if ( $ this -> secretKey ) { $ this -> params [ 'signature' ] = $ this -> getSignature ( $ vitalParams ) ; } $ this -> params [ 'locale' ] = $ locale ; return self :: FORM_URL . $ publicKey . '?' . http_build_query ( $ this -> params ) ; }
docstring: Get URL for pay through the form
  
  @param string $publicKey
  @param string|float|int $sum
  @param string $account
  @param string $desc
  @param string $currency
  @param string $locale
  
  @return string
docstring_tokens: Get URL for pay through the form