You are here

function VideoRemoteStreamWrapper::setUri in Video 8

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/VideoRemoteStreamWrapper.php \Drupal\video\StreamWrapper\VideoRemoteStreamWrapper::setUri()

Sets the absolute stream resource URI.

This allows you to set the URI. Generally is only called by the factory method.

Parameters

string $uri: A string containing the URI that should be used for this instance.

Overrides ReadOnlyStream::setUri

File

src/StreamWrapper/VideoRemoteStreamWrapper.php, line 61

Class

VideoRemoteStreamWrapper
Defines a video read only stream wrapper class.

Namespace

Drupal\video\StreamWrapper

Code

function setUri($uri) {
  $this->uri = $uri;
}