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

LocaleDeLi   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

3 Methods

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