public function PoStreamWriter::setURI

public PoStreamWriter::setURI($uri)

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

core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 153

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function setURI($uri) {
  $this->_uri = $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!Component!Gettext!PoStreamWriter.php/function/PoStreamWriter::setURI/8.1.x