Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function i18nFileProvider() { |
||
39 | |||
40 | $provider = []; |
||
41 | $location = $GLOBALS['wgMessagesDirs']['SemanticInterlanguageLinks']; |
||
42 | |||
43 | $bulkFileProvider = UtilityFactory::getInstance()->newBulkFileProvider( $location ); |
||
44 | $bulkFileProvider->searchByFileExtension( 'json' ); |
||
45 | |||
46 | foreach ( $bulkFileProvider->getFiles() as $file ) { |
||
47 | $provider[] = [ $file ]; |
||
48 | } |
||
49 | |||
50 | return $provider; |
||
51 | } |
||
52 | |||
54 |