W3cubDocs

/Drupal 8

public function StreamWrapperInterface::setUri

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

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 130

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

public function setUri($uri);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!StreamWrapperInterface.php/function/StreamWrapperInterface::setUri/8.1.x