You are here

public function PoStreamReader::setURI in Drupal 9

Same name and namespace in other branches
  1. 8 core/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

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 139

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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