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

LocaleDeAt   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A endonym() 0 3 1
A endonymSortable() 0 3 1
A numberSymbols() 0 6 1
A territory() 0 3 1
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Territory\TerritoryAt;
4
5
/**
6
 * Class LocaleDeAt - Austrian German
7
 *
8
 * @author        Greg Roach <[email protected]>
9
 * @copyright (c) 2015 Greg Roach
10
 * @license       GPLv3+
11
 */
12
class LocaleDeAt extends LocaleDe {
13
	public function endonym() {
14
		return 'Österreichisches Deutsch';
15
	}
16
17
	public function endonymSortable() {
18
		return 'OSTERREICHISCHES DEUTSCH';
19
	}
20
21
	public function numberSymbols() {
22
		return array(
23
				self::GROUP   => self::NBSP,
24
				self::DECIMAL => self::COMMA,
25
		);
26
	}
27
28
	public function territory() {
29
		return new TerritoryAt;
30
	}
31
}
32