You are here

private static function OAuthRequest::generate_timestamp in jQuery social stream 8

Same name and namespace in other branches
  1. 8.2 src/Twitter/OAuthRequest.php \Drupal\jquery_social_stream\Twitter\OAuthRequest::generate_timestamp()

util function: current timestamp

1 call to OAuthRequest::generate_timestamp()
OAuthRequest::from_consumer_and_token in src/Twitter/OAuthRequest.php
pretty much a helper function to set up the request

File

src/Twitter/OAuthRequest.php, line 258

Class

OAuthRequest

Namespace

Drupal\jquery_social_stream\Twitter

Code

private static function generate_timestamp() {
  return time();
}