public function PoStreamWriter::getURI in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getURI()
Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
Throws
Exception If the URI is not set.
Overrides PoStreamInterface::getURI
1 call to PoStreamWriter::getURI()
- PoStreamWriter::open in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Open the stream. Set the URI for the stream earlier with setURI().
File
- core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php, line 148 - Contains \Drupal\Component\Gettext\PoStreamWriter.
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
public function getURI() {
if (empty($this->_uri)) {
throw new Exception('No URI set.');
}
return $this->_uri;
}