LanguageAa   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 code() 0 4 1
A defaultTerritory() 0 4 1
1
<?php namespace Fisharebest\Localization\Language;
2
3
use Fisharebest\Localization\Territory\TerritoryEt;
4
5
/**
6
 * Class LanguageAa - Representation of the Afar language.
7
 *
8
 * @author    Greg Roach <[email protected]>
9
 * @copyright (c) 2018 Greg Roach
10
 * @license   GPLv3+
11
 */
12
class LanguageAa extends AbstractLanguage implements LanguageInterface
13
{
14
    public function code()
15
    {
16
        return 'aa';
17
    }
18
19
    public function defaultTerritory()
20
    {
21
        return new TerritoryEt();
22
    }
23
}
24