You are here

public function PoStreamReader::setURI in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setURI()

Set the URI of the PO stream that is going to be read or written.

Parameters

$uri: URI string to set for this stream.

Overrides PoStreamInterface::setURI

File

lib/Drupal/Component/Gettext/PoStreamReader.php, line 144
Contains \Drupal\Component\Gettext\PoStreamReader.

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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