githubtrue/backend/vendor/illuminate/translation/LoaderInterface.php @ b50f8ebd
1 |
<?php
|
---|---|
2 |
|
3 |
namespace Illuminate\Translation; |
4 |
|
5 |
interface LoaderInterface |
6 |
{
|
7 |
/**
|
8 |
* Load the messages for the given locale.
|
9 |
*
|
10 |
* @param string $locale
|
11 |
* @param string $group
|
12 |
* @param string $namespace
|
13 |
* @return array
|
14 |
*/
|
15 |
public function load($locale, $group, $namespace = null); |
16 |
|
17 |
/**
|
18 |
* Add a new namespace to the loader.
|
19 |
*
|
20 |
* @param string $namespace
|
21 |
* @param string $hint
|
22 |
* @return void
|
23 |
*/
|
24 |
public function addNamespace($namespace, $hint); |
25 |
}
|