You are here

public function AmazonS3StreamWrapper::setUri in AmazonS3 7

Sets the stream resource URI.

URIs are formatted as "s3://bucket/key"

Return value

string Returns the current URI of the instance.

Overrides DrupalStreamWrapperInterface::setUri

File

./AmazonS3StreamWrapper.inc, line 201
Drupal stream wrapper implementation for Amazon S3

Class

AmazonS3StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Code

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