Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LoaderInterface.php « Loader « Translation « core - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6c2bba660facbadf34d730eb5656a54c551263c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Piwik - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

namespace Piwik\Translation\Loader;

/**
 * Loads translations.
 */
interface LoaderInterface
{
    /**
     * @param string $language
     * @param mixed[] $directories Directories containing translation files.
     * @throws \Exception The translation file was not found
     * @return string[] Translations.
     */
    public function load($language, array $directories);
}