You are here

public function S3fsStreamWrapper::setUri in S3 File System 7.2

Same name and namespace in other branches
  1. 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::setUri()
  2. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::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 DrupalStreamWrapperInterface::setUri

File

./S3fsStreamWrapper.inc, line 281
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

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