Shared interface definition for all Gettext PO Readers.
Expanded class hierarchy of PoReaderInterface
All classes that implement PoReaderInterface
interface PoReaderInterface extends PoMetadataInterface {
/**
* Reads and returns a PoItem (source/translation pair).
*
* @return Drupal\Component\Gettext\PoItem
* Wrapper for item data instance.
*/
function readItem();
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PoMetadataInterface:: |
function | Get header metadata. | 5 | |
PoMetadataInterface:: |
function | Get language code. | 5 | |
PoMetadataInterface:: |
function | Set header metadata. | 5 | |
PoMetadataInterface:: |
function | Set language code. | 5 | |
PoReaderInterface:: |
function | Reads and returns a PoItem (source/translation pair). | 2 |