function 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.