DevelopmentLoader.php
1 month ago
JsonFileLoader.php
1 month ago
LoaderCache.php
2 years ago
LoaderInterface.php
1 month ago
LoaderInterface.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Matomo - free/libre analytics platform |
| 5 | * |
| 6 | * @link https://matomo.org |
| 7 | * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 8 | */ |
| 9 | namespace Piwik\Translation\Loader; |
| 10 | |
| 11 | /** |
| 12 | * Loads translations. |
| 13 | */ |
| 14 | interface LoaderInterface |
| 15 | { |
| 16 | /** |
| 17 | * @param string $language |
| 18 | * @param string[] $directories Directories containing translation files. |
| 19 | * @return array<string, array<string, string>> Translations. |
| 20 | * @throws \Exception The translation file was not found |
| 21 | */ |
| 22 | public function load($language, array $directories); |
| 23 | } |
| 24 |