You are here

public function PoMemoryWriter::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::__construct()

Constructor, initialize empty items.

File

core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 20

Class

PoMemoryWriter
Defines a Gettext PO memory writer, to be used by the installer.

Namespace

Drupal\Component\Gettext

Code

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