public function BrightcoveAPIClient::setClient in Brightcove Video Connect 8
Same name and namespace in other branches
- 8.2 src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::setClient()
- 3.x src/Entity/BrightcoveAPIClient.php \Drupal\brightcove\Entity\BrightcoveAPIClient::setClient()
Set Brightcove API client.
Parameters
\Brightcove\API\Client $client: The initialized Brightcove API Client.
Return value
$this
1 call to BrightcoveAPIClient::setClient()
- BrightcoveAPIClient::authorizeClient in src/
Entity/ BrightcoveAPIClient.php - Authorize client with Brightcove API and store client on the entity.
File
- src/
Entity/ BrightcoveAPIClient.php, line 246
Class
- BrightcoveAPIClient
- Defines the Brightcove API Client entity.
Namespace
Drupal\brightcove\EntityCode
public function setClient(Client $client) {
$this->client = $client;
return $this;
}