Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/gettext/gettext/src/Extractors/ExtractorInterface.php
Строк: 65
<?php
namespace GettextExtractors;

use 
GettextTranslations;

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($fileTranslations $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($stringTranslations $translations null$file '');
}
Онлайн: 1
Реклама