You are here

public function S3fsStream::setUri in S3 File System 8.3

Same name and namespace in other branches
  1. 8.2 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

3 calls to S3fsStream::setUri()
S3fsStream::stream_open in src/StreamWrapper/S3fsStream.php
S3fsStream::unlink in src/StreamWrapper/S3fsStream.php
Support for unlink().
S3fsStream::url_stat in src/StreamWrapper/S3fsStream.php

File

src/StreamWrapper/S3fsStream.php, line 325

Class

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

Namespace

Drupal\s3fs\StreamWrapper

Code

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