public function PoStreamWriter::getURI
public PoStreamWriter::getURI()
Implements Drupal\Component\Gettext\PoStreamInterface::getURI().
Throws
Exception If the URI is not set.
Overrides PoStreamInterface::getURI
File
- core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 143
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; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoStreamWriter.php/function/PoStreamWriter::getURI/8.1.x