PoStreamReader::$lastItem

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::lastItem
  2. 10 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::lastItem
  3. 11.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::lastItem

Object wrapper for the last read source/translation pair.

Type: \Drupal\Component\Gettext\PoItem

File

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 84

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

protected $lastItem;

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