Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
LanguageCrh | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace Wikimedia\Parsoid\Language; |
5 | |
6 | /** Crimean Tatar (Qırımtatarca) conversion code */ |
7 | class LanguageCrh extends Language { |
8 | |
9 | public function __construct() { |
10 | $variants = [ 'crh', 'crh-cyrl', 'crh-latn' ]; |
11 | $variantfallbacks = [ |
12 | 'crh' => 'crh-latn', |
13 | 'crh-cyrl' => 'crh-latn', |
14 | 'crh-latn' => 'crh-cyrl', |
15 | ]; |
16 | $converter = new CrhConverter( $this, 'crh', $variants, $variantfallbacks ); |
17 | $this->setConverter( $converter ); |
18 | } |
19 | |
20 | } |