function StreamWrapperInterface::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.

2 methods override StreamWrapperInterface::setUri()
LocalStream::setUri in drupal/core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri().
ReadOnlyStream::setUri in drupal/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php
Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri().

File

drupal/core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 41
Definition of Drupal\Core\StreamWrapper\StreamWrapperInterface.

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

function setUri($uri);