function PoMemoryWriter::__construct

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

function __construct() {
  $this->_items = array();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoMemoryWriter.php/function/PoMemoryWriter::__construct/8.1.x