LocaleZu   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A endonym() 0 4 1
A endonymSortable() 0 4 1
A language() 0 4 1
1
<?php namespace Fisharebest\Localization\Locale;
2
3
use Fisharebest\Localization\Language\LanguageZu;
4
5
/**
6
 * Class LocaleZu - Zulu
7
 *
8
 * @author    Greg Roach <[email protected]>
9
 * @copyright (c) 2018 Greg Roach
10
 * @license   GPLv3+
11
 */
12
class LocaleZu extends AbstractLocale implements LocaleInterface
13
{
14
    public function endonym()
15
    {
16
        return 'isiZulu';
17
    }
18
19
    public function endonymSortable()
20
    {
21
        return 'ISIZULU';
22
    }
23
24
    public function language()
25
    {
26
        return new LanguageZu();
27
    }
28
}
29