You are here

public function PoStreamInterface::open in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoStreamInterface.php \Drupal\Component\Gettext\PoStreamInterface::open()
  2. 10 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();