LanguageArs   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A defaultTerritory() 0 4 1
A code() 0 4 1
1
<?php namespace Fisharebest\Localization\Language;
2
3
use Fisharebest\Localization\Territory\TerritorySa;
4
5
/**
6
 * Class LanguageAr - Representation of the Najdi Arabic language.
7
 *
8
 * @author    Greg Roach <[email protected]>
9
 * @copyright (c) 2018 Greg Roach
10
 * @license   GPLv3+
11
 */
12
class LanguageArs extends LanguageAr
13
{
14
    public function code()
15
    {
16
        return 'ars';
17
    }
18
19
    public function defaultTerritory()
20
    {
21
        return new TerritorySa();
22
    }
23
}
24