public function PoStreamInterface::setURI in Drupal 9
Same name and namespace in other branches
- 8 core/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 core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Set the URI of the PO stream that is going to be read or written.
- PoStreamWriter::setURI in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Set the URI of the PO stream that is going to be read or written.
File
- core/
lib/ Drupal/ Component/ Gettext/ PoStreamInterface.php, line 37
Class
- PoStreamInterface
- Common functions for file/stream based PO readers/writers.
Namespace
Drupal\Component\GettextCode
public function setURI($uri);