function 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 = [];
}

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