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

LocaleEnDe   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A percentFormat() 0 3 1
A territory() 0 3 1
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Territory\TerritoryDe;
4
5
/**
6
 * Class LocaleEnDe - English
7
 *
8
 * @author        Greg Roach <[email protected]>
9
 * @copyright (c) 2015 Greg Roach
10
 * @license       GPLv3+
11
 */
12
class LocaleEnDe extends LocaleEn {
13
	protected function percentFormat() {
14
		return '%s' . self::NBSP . self::PERCENT;
15
	}
16
17
	public function territory() {
18
		return new TerritoryDe;
19
	}
20
}
21