You are here

protected function BrightcoveVideo::getIngestRequest in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::getIngestRequest()
  2. 3.x src/Entity/BrightcoveVideo.php \Drupal\brightcove\Entity\BrightcoveVideo::getIngestRequest()

Create or get an existing ingestion request object.

Return value

\Brightcove\API\Request\IngestRequest Returns an ingestion request object.

2 calls to BrightcoveVideo::getIngestRequest()
BrightcoveVideo::createIngestImage in src/Entity/BrightcoveVideo.php
Create an ingestion request for image.
BrightcoveVideo::save in src/Entity/BrightcoveVideo.php

File

src/Entity/BrightcoveVideo.php, line 90

Class

BrightcoveVideo
Defines the Brightcove Video entity.

Namespace

Drupal\brightcove\Entity

Code

protected function getIngestRequest() {
  if (is_null($this->ingestRequest)) {
    $this->ingestRequest = new IngestRequest();
  }
  return $this->ingestRequest;
}