interface PoReaderInterface in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Component/Gettext/PoReaderInterface.php \Drupal\Component\Gettext\PoReaderInterface
Shared interface definition for all Gettext PO Readers.
Hierarchy
- interface \Drupal\Component\Gettext\PoMetadataInterface
- interface \Drupal\Component\Gettext\PoReaderInterface
Expanded class hierarchy of PoReaderInterface
All classes that implement PoReaderInterface
File
- lib/
Drupal/ Component/ Gettext/ PoReaderInterface.php, line 13 - Contains \Drupal\Component\Gettext\PoReaderInterface.
Namespace
Drupal\Component\GettextView source
interface PoReaderInterface extends PoMetadataInterface {
/**
* Reads and returns a PoItem (source/translation pair).
*
* @return \Drupal\Component\Gettext\PoItem
* Wrapper for item data instance.
*/
public function readItem();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PoMetadataInterface:: |
public | function | Get header metadata. | 3 |
PoMetadataInterface:: |
public | function | Get language code. | 3 |
PoMetadataInterface:: |
public | function | Set header metadata. | 3 |
PoMetadataInterface:: |
public | function | Set language code. | 3 |
PoReaderInterface:: |
public | function | Reads and returns a PoItem (source/translation pair). | 1 |