You are here

class TwitterOAuth2 in Tweet Feed 8.3

Same name and namespace in other branches
  1. 4.x src/Controller/TwitterOAuth2.php \Drupal\tweet_feed\Controller\TwitterOAuth2

Hierarchy

  • class \Drupal\tweet_feed\Controller\TwitterOAuth2 extends \Abraham\TwitterOAuth\TwitterOAuth

Expanded class hierarchy of TwitterOAuth2

1 file declares its use of TwitterOAuth2
TweetFeed.php in src/Controller/TweetFeed.php

File

src/Controller/TwitterOAuth2.php, line 7

Namespace

Drupal\tweet_feed\Controller
View source
class TwitterOAuth2 extends TwitterOAuth {
  const API_VERSION = '2';
  protected function getUrl(string $host, string $path) {
    return sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
  }

}

Members