HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/subdomains/xibo/vendor/gettext/gettext/src/Extractors/ExtractorInterface.php
<?php

namespace Gettext\Extractors;

use Gettext\Translations;

interface ExtractorInterface
{
    /**
     * Extract the translations from a file.
     *
     * @param array|string      $file         A path of a file or files
     * @param null|Translations $translations The translations instance to append the new translations.
     *
     * @return Translations
     */
    public static function fromFile($file, Translations $translations = null);

    /**
     * Parses a string and append the translations found in the Translations instance.
     *
     * @param string            $string
     * @param Translations|null $translations
     * @param string            $file         The file path to insert the reference
     *
     * @return Translations
     */
    public static function fromString($string, Translations $translations = null, $file = '');
}