interface PoStreamInterface
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface
- 8.9.x core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface
- 10 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface
Common functions for file/stream based PO readers/writers.
Hierarchy
- interface \Drupal\Component\Gettext\PoStreamInterface
Expanded class hierarchy of PoStreamInterface
All classes that implement PoStreamInterface
See also
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamInterface.php, line 11
Namespace
Drupal\Component\GettextView source
interface PoStreamInterface {
/**
* Open the stream. Set the URI for the stream earlier with setURI().
*/
public function open();
/**
* Close the stream.
*/
public function close();
/**
* Gets the URI of the PO stream that is being read or written.
*
* @return string
* URI string for this stream.
*/
public function getURI();
/**
* Set the URI of the PO stream that is going to be read or written.
*
* @param string $uri
* URI string to set for this stream.
*/
public function setURI($uri);
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
PoStreamInterface::close | public | function | Close the stream. | 2 |
PoStreamInterface::getURI | public | function | Gets the URI of the PO stream that is being read or written. | 2 |
PoStreamInterface::open | public | function | Open the stream. Set the URI for the stream earlier with setURI(). | 2 |
PoStreamInterface::setURI | public | function | Set the URI of the PO stream that is going to be read or written. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.