function OAuthRequest::__construct in jQuery social stream 8
Same name and namespace in other branches
- 8.2 src/Twitter/OAuthRequest.php \Drupal\jquery_social_stream\Twitter\OAuthRequest::__construct()
File
- src/
Twitter/ OAuthRequest.php, line 14
Class
Namespace
Drupal\jquery_social_stream\TwitterCode
function __construct($http_method, $http_url, $parameters = NULL) {
@$parameters or $parameters = array();
$parameters = array_merge(OAuthUtil::parse_parameters(parse_url($http_url, PHP_URL_QUERY)), $parameters);
$this->parameters = $parameters;
$this->http_method = $http_method;
$this->http_url = $http_url;
}