You are here

public function FlysystemBridge::setUri in Flysystem 8

Same name and namespace in other branches
  1. 7 src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::setUri()
  2. 3.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::setUri()
  3. 2.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::setUri()
  4. 3.0.x src/FlysystemBridge.php \Drupal\flysystem\FlysystemBridge::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

src/FlysystemBridge.php, line 56

Class

FlysystemBridge
An adapter for Flysystem to StreamWrapperInterface.

Namespace

Drupal\flysystem

Code

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