Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

engine/classes/Elgg/I18n/MessageBundle.php (1 issue)

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 Evan Winslow
The doc comment ?MessageTemplate at position 0 could not be parsed: Unknown type name '?MessageTemplate' at position 0 in ?MessageTemplate.
Loading history...
24
	public function get($key, Locale $locale);
25
}
26