Completed
Push — master ( e29564...0c58a0 )
by Greg
22:41 queued 10:16
created

LocaleAng   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 13
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A endonym() 0 3 1
A endonymSortable() 0 3 1
A language() 0 3 1
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Language\LanguageAng;
4
5
/**
6
 * Class LocaleAng - Anglo-Saxon / Old-English
7
 *
8
 * @author        Greg Roach <[email protected]>
9
 * @copyright (c) 2016 Greg Roach
10
 * @license       GPLv3+
11
 */
12
class LocaleAng extends AbstractLocale implements LocaleInterface {
13
	public function endonym() {
14
		return 'Ænglisc';
15
	}
16
17
	public function endonymSortable() {
18
		return 'ÆNGLISC';
19
	}
20
21
	public function language() {
22
		return new LanguageAng;
23
	}
24
}
25