LocaleArs::language()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Language\LanguageArs;
4
5
/**
6
 * Class LocaleAr - Najdi Arabic
7
 *
8
 * @author    Greg Roach <[email protected]>
9
 * @copyright (c) 2018 Greg Roach
10
 * @license   GPLv3+
11
 */
12
class LocaleArs extends AbstractLocale implements LocaleInterface
13
{
14
    public function endonym()
15
    {
16
        return 'اللهجة النجدية‎';
17
    }
18
19
    public function language()
20
    {
21
        return new LanguageArs();
22
    }
23
24
    public function numberSymbols()
25
    {
26
        return array(
27
            self::GROUP    => self::ARAB_GROUP,
28
            self::DECIMAL  => self::ARAB_DECIMAL,
29
            self::NEGATIVE => self::ALM . self::HYPHEN,
30
        );
31
    }
32
33
    protected function percentFormat()
34
    {
35
        return self::PLACEHOLDER . self::ARAB_PERCENT . self::ALM;
36
    }
37
}
38