summaryrefslogtreecommitdiff
path: root/vendor/fisharebest/localization/src/Locale/LocaleEo.php
blob: 51118cd8cc44614c1c84938e3fb92eadf3ff0039 (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
41
<?php namespace Fisharebest\Localization\Locale;

use Fisharebest\Localization\Language\LanguageEo;

/**
 * Class LocaleEo - Esperanto
 *
 * @author        Greg Roach <fisharebest@gmail.com>
 * @copyright (c) 2015 Greg Roach
 * @license       GPLv3+
 */
class LocaleEo extends AbstractLocale implements LocaleInterface {
	/** {@inheritdoc} */
	public function collation() {
		return 'esperanto_ci';
	}

	/** {@inheritdoc} */
	public function endonym() {
		return 'esperanto';
	}

	/** {@inheritdoc} */
	public function endonymSortable() {
		return 'ESPERANTO';
	}

	/** {@inheritdoc} */
	public function language() {
		return new LanguageEo;
	}

	/** {@inheritdoc} */
	public function numberSymbols() {
		return array(
			self::GROUP    => self::NBSP,
			self::DECIMAL  => self::COMMA,
			self::NEGATIVE => self::HYPHEN,
		);
	}
}