es_MX   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 12
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
A getLabel() 0 3 1
1
<?php
2
3
namespace AppLocalize\Locale;
4
5
use AppLocalize\Localization_Locale;
6
use function AppLocalize\t;
7
8
class es_MX extends Localization_Locale
9
{
10
    public const LOCALE_NAME = 'es_MX';
11
12
    public function getName() : string
13
    {
14
        return self::LOCALE_NAME;
15
    }
16
17
    public function getLabel() : string
18
    {
19
        return t('Mexican Spanish');
20
    }
21
}
22