You are here

public function BrightcoveAPIClient::getClient in Brightcove Video Connect 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::getClient()
  2. 8 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::getClient()

Returns the loaded API client.

Return value

\Brightcove\API\Client Loaded API client.

Overrides BrightcoveAPIClientInterface::getClient

File

src/Entity/BrightcoveAPIClient.php, line 165

Class

BrightcoveAPIClient
Defines the Brightcove API Client entity.

Namespace

Drupal\brightcove\Entity

Code

public function getClient() {
  $this
    ->authorizeClient();
  return $this->client;
}