function PoStreamInterface::open

Same name in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::open()
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::open()
  3. 11.x core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::open()

Open the stream. Set the URI for the stream earlier with setURI().

2 methods override PoStreamInterface::open()
PoStreamReader::open in core/lib/Drupal/Component/Gettext/PoStreamReader.php
Implements Drupal\Component\Gettext\PoStreamInterface::open().
PoStreamWriter::open in core/lib/Drupal/Component/Gettext/PoStreamWriter.php
Open the stream. Set the URI for the stream earlier with setURI().

File

core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 16

Class

PoStreamInterface
Common functions for file/stream based PO readers/writers.

Namespace

Drupal\Component\Gettext

Code

public function open();

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