3 namespace Drupal\Component\Gettext;
6 * Common functions for file/stream based PO readers/writers.
8 * @see PoReaderInterface
9 * @see PoWriterInterface
11 interface PoStreamInterface {
14 * Open the stream. Set the URI for the stream earlier with setURI().
16 public function open();
21 public function close();
24 * Gets the URI of the PO stream that is being read or written.
27 * URI string for this stream.
29 public function getURI();
32 * Set the URI of the PO stream that is going to be read or written.
35 * URI string to set for this stream.
37 public function setURI($uri);