You are here

public function SessionStreamWrapper::setUri in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::setUri()

Implements setUri().

Overrides StreamWrapperInterface::setUri

File

modules/stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php, line 186

Class

SessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Namespace

Drupal\stream_wrapper_example\StreamWrapper

Code

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