W3cubDocs

/Drupal 8

function LocalStream::getUri

LocalStream::getUri()

Returns the stream resource URI.

Return value

string Returns the current URI of the instance.

Overrides StreamWrapperInterface::getUri

File

core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 67

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

function getUri() {
  return $this->uri;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!LocalStream.php/function/LocalStream::getUri/8.1.x