You are here

protected function TwitterOAuth2::getUrl in Tweet Feed 4.x

Same name and namespace in other branches
  1. 8.3 src/Controller/TwitterOAuth2.php \Drupal\tweet_feed\Controller\TwitterOAuth2::getUrl()

File

src/Controller/TwitterOAuth2.php, line 11

Class

TwitterOAuth2

Namespace

Drupal\tweet_feed\Controller

Code

protected function getUrl(string $host, string $path) {
  return sprintf('%s/%s/%s.json', $host, self::API_VERSION, $path);
}