You are here

public function BrightcoveSubscription::setEndpoint in Brightcove Video Connect 3.x

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

Set the endpoint for the subscription.

Parameters

string $endpoint: The Subscription's endpoint.

Return value

$this

Overrides BrightcoveSubscriptionInterface::setEndpoint

1 call to BrightcoveSubscription::setEndpoint()
BrightcoveSubscription::saveToBrightcove in src/Entity/BrightcoveSubscription.php
Saves the subscription entity to Brightcove.

File

src/Entity/BrightcoveSubscription.php, line 150

Class

BrightcoveSubscription
Defines the Brightcove Subscription entity.

Namespace

Drupal\brightcove\Entity

Code

public function setEndpoint($endpoint) {
  $this->endpoint = $endpoint;
  return $this;
}