This issue is part of #1861442: [meta] Review of Drupal\Component\GetText files that aims to clean up the Gettext component.
Problem/Motivation
The code of the Gettext component consistent with the current Drupal coding and documentation standards.
Proposed resolution
- Remove the leading underscore from variable names.
- Use consistent cases for properties.
- Change
private $_*
properties toprotected $*