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

LocaleArEh   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
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 13
rs 10

2 Methods

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