Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
VectorServices | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
getLanguageService | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Skins\Vector; |
4 | |
5 | use MediaWiki\Skins\Vector\Services\LanguageService; |
6 | |
7 | /** |
8 | * A service locator for services specific to Vector. |
9 | * |
10 | * @package Vector |
11 | * @internal |
12 | */ |
13 | final class VectorServices { |
14 | |
15 | /** |
16 | * Gets the language service. |
17 | * |
18 | * @return LanguageService |
19 | */ |
20 | public static function getLanguageService(): LanguageService { |
21 | return new LanguageService(); |
22 | } |
23 | } |