You are here

public function PoStreamInterface::setURI in Service Container 7.2

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

2 methods override PoStreamInterface::setURI()
PoStreamReader::setURI in lib/Drupal/Component/Gettext/PoStreamReader.php
Set the URI of the PO stream that is going to be read or written.
PoStreamWriter::setURI in lib/Drupal/Component/Gettext/PoStreamWriter.php
Set the URI of the PO stream that is going to be read or written.

File

lib/Drupal/Component/Gettext/PoStreamInterface.php, line 42
Contains \Drupal\Component\Gettext\PoStreamInterface.

Class

PoStreamInterface
Common functions for file/stream based PO readers/writers.

Namespace

Drupal\Component\Gettext

Code

public function setURI($uri);