Add optional locale parameter to interface as well

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-12-07 16:27:31 +01:00
parent 2bbfeea659
commit 20c1f5971f
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 2 additions and 1 deletions

View File

@ -32,10 +32,11 @@ interface IFactory {
*
* @param string $app
* @param string|null $lang
* @param string|null $locale
* @return \OCP\IL10N
* @since 8.2.0
*/
public function get($app, $lang = null);
public function get($app, $lang = null, $locale = null);
/**
* Find the best language