You are here

public function S3fsStream::setUri in S3 File System 8.2

Same name and namespace in other branches
  1. 8.3 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::setUri()
  2. 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::setUri()

Sets the stream resource URI. URIs are formatted as "<scheme>://filepath".

Parameters

string $uri: The URI that should be used for this instance.

Overrides StreamWrapperInterface::setUri

File

src/StreamWrapper/S3fsStream.php, line 303

Class

S3fsStream
Defines a Drupal s3fs (s3fs://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function setUri($uri) {
  $this
    ->_debug("setUri({$uri}) called.");
  $this->uri = $uri;
}