Completed
Push — develop ( 263917...a162e3 )
by Greg
07:31
created

LocaleDeCh   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 5
c 2
b 0
f 0
lcom 0
cbo 2
dl 0
loc 24
rs 10

5 Methods

Rating   Name   Duplication   Size   Complexity  
A endonym() 0 3 1
A endonymSortable() 0 3 1
A numberSymbols() 0 6 1
A percentFormat() 0 3 1
A territory() 0 3 1
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Territory\TerritoryCh;
4
5
/**
6
 * Class LocaleDeCh - Swiss High German
7
 *
8
 * @author        Greg Roach <[email protected]>
9
 * @copyright (c) 2015 Greg Roach
10
 * @license       GPLv3+
11
 */
12
class LocaleDeCh extends LocaleDe {
13
	public function endonym() {
14
		return 'Schweizer Hochdeutsch';
15
	}
16
17
	public function endonymSortable() {
18
		return 'SCHWEIZER HOCHDEUTSCH';
19
	}
20
21
	public function numberSymbols() {
22
		return array(
23
			self::GROUP   => self::PRIME,
24
			self::DECIMAL => self::DOT,
25
		);
26
	}
27
28
	protected function percentFormat() {
29
		return '%s%%';
30
	}
31
32
	public function territory() {
33
		return new TerritoryCh;
34
	}
35
}
36