/** * @return string */ protected function getSigningKey() { $signingKey = rawurlencode($this->credentials->getConsumerSecret()) . '&'; if ($this->tokenSecret !== null) { $signingKey .= rawurlencode($this->tokenSecret); } return $signingKey; }