public function PoStreamWriter::getURI in Localization update 7.2
Implements PoStreamInterface::getURI().
Throws
Exception If the URI is not set.
Overrides PoStreamInterface::getURI
1 call to PoStreamWriter::getURI()
- PoStreamWriter::open in includes/
gettext/ PoStreamWriter.php - Implements PoStreamInterface::open().
File
- includes/
gettext/ PoStreamWriter.php, line 146 - Definition of Drupal\Component\Gettext\PoStreamWriter.
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Code
public function getURI() {
if (empty($this->_uri)) {
throw new Exception('No URI set.');
}
return $this->_uri;
}