1 | <?php |
||
2 | namespace Elgg\I18n; |
||
3 | |||
4 | /** |
||
5 | * WARNING: API IN FLUX. DO NOT USE DIRECTLY. |
||
6 | * |
||
7 | * TODO(ewinslow): Have this extend Table(row=string, column=Locale, value=?MessageTemplate) |
||
8 | * if we ever support a Table data structure. |
||
9 | * |
||
10 | * @since 1.11 |
||
11 | * |
||
12 | * @access private |
||
13 | */ |
||
14 | interface MessageBundle { |
||
15 | |||
16 | /** |
||
17 | * Fetches the translatable message associated with the given key |
||
18 | * |
||
19 | * @param string $key String identifier for the message |
||
20 | * @param Locale $locale Locale in which the message is written |
||
21 | * |
||
22 | * @return ?MessageTemplate The message object or null if not found. |
||
23 | */ |
||
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
24 | public function get($key, Locale $locale); |
||
25 | } |
||
26 |