function LocalStream::setUri in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::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 StreamWrapperInterface::setUri
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ LocalStream.php, line 65 - Contains \Drupal\Core\StreamWrapper\LocalStream.
Class
- LocalStream
- Defines a Drupal stream wrapper base class for local files.
Namespace
Drupal\Core\StreamWrapperCode
function setUri($uri) {
$this->uri = $uri;
}