You are here

public function PoStreamWriter::setURI in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::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

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

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

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