buildQuery() private method

private buildQuery ( string $query ) : string
$query string
return string query with extra params
示例#1
0
 /**
  * {@inheritDoc}
  */
 protected function buildQuery($query)
 {
     $query = parent::buildQuery($query);
     $query = sprintf('%s&client=%s', $query, $this->clientId);
     if (null !== $this->privateKey) {
         $query = $this->signQuery($query);
     }
     return $query;
 }
示例#2
0
 protected function buildQuery($query)
 {
     return parent::buildQuery($this->proxy . '?' . parse_url($query, PHP_URL_QUERY));
 }