function PoDatabaseReader::__construct

Same name in other branches
  1. 9 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::__construct()
  2. 8.9.x core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::__construct()
  3. 10 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::__construct()

Constructor, initializes with default options.

File

core/modules/locale/src/PoDatabaseReader.php, line 47

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

public function __construct() {
    $this->setOptions([]);
}

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