blob: d1054cab8dfa480de62eec857b26cd7f8a97096c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php namespace Fisharebest\Localization\Locale;
use Fisharebest\Localization\Territory\TerritoryMx;
/**
* Class LocaleEsMx - Mexican Spanish
*
* @author Greg Roach <fisharebest@gmail.com>
* @copyright (c) 2015 Greg Roach
* @license GPLv3+
*/
class LocaleEsMx extends LocaleEs {
/** {@inheritdoc} */
public function endonym() {
return 'español de México';
}
/** {@inheritdoc} */
public function endonymSortable() {
return 'ESPANOL DE MEXICO';
}
/** {@inheritdoc} */
public function numberSymbols() {
return array(
self::GROUP => self::COMMA,
self::DECIMAL => self::DOT,
);
}
/** {@inheritdoc} */
protected function percentFormat() {
return '%s' . self::PERCENT;
}
/** {@inheritdoc} */
public function territory() {
return new TerritoryMx;
}
}
|