ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ExtractorInterface.php
Go to the documentation of this file.
1<?php
2
3namespace Gettext\Extractors;
4
6
8{
17 public static function fromFile($file, Translations $translations = null);
18
28 public static function fromString($string, Translations $translations = null, $file = '');
29}
An exception for terminatinating execution or to throw for unit testing.
Class to manage a collection of translations.
static fromFile($file, Translations $translations=null)
Extract the translations from a file.
static fromString($string, Translations $translations=null, $file='')
Parses a string and append the translations found in the Translations instance.