PoReaderInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoReaderInterface.php
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoReaderInterface.php
  3. 10 core/lib/Drupal/Component/Gettext/PoReaderInterface.php

Namespace

Drupal\Component\Gettext

File

core/lib/Drupal/Component/Gettext/PoReaderInterface.php

View source
<?php

namespace Drupal\Component\Gettext;


/**
 * Shared interface definition for all Gettext PO Readers.
 */
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();

}

Interfaces

Title Deprecated Summary
PoReaderInterface Shared interface definition for all Gettext PO Readers.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.