ReadOnlyStream::setUri

ReadOnlyStream::setUri($uri)

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 StreamWrapperInterface::setUri

File

core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 42

Class

ReadOnlyStream
Defines a read-only Drupal stream wrapper base class.

Namespace

Drupal\Core\StreamWrapper

Code

function setUri($uri) {
  $this->uri = $uri;
}
doc_Drupal
2016-10-29 09:36:37
Comments
Leave a Comment

Please login to continue.