public function S3fsStreamWrapper::setUri in S3 File System 7
Same name and namespace in other branches
- 7.3 S3fsStreamWrapper.inc \S3fsStreamWrapper::setUri()
- 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::setUri()
Sets the stream resource URI. URIs are formatted as "s3://key".
Parameters
string $uri: A string containing the URI that should be used for this instance.
Overrides DrupalStreamWrapperInterface::setUri
File
- ./
S3fsStreamWrapper.inc, line 275 - 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;
}