ScriptMong::code()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php namespace Fisharebest\Localization\Script;
2
3
/**
4
 * Class ScriptMong - Representation of the Mongolian script.
5
 *
6
 * @author    Greg Roach <[email protected]>
7
 * @copyright (c) 2018 Greg Roach
8
 * @license   GPLv3+
9
 */
10
class ScriptMong extends AbstractScript implements ScriptInterface
11
{
12
    public function code()
13
    {
14
        return 'Mong';
15
    }
16
17
    public function numerals()
18
    {
19
        return array('᠐', '᠑', '᠒', '᠓', '᠔', '᠕', '᠖', '᠗', '᠘', '᠙');
20
    }
21
22
    public function number()
23
    {
24
        return '145';
25
    }
26
27
    public function unicodeName()
28
    {
29
        return 'Mongolian';
30
    }
31
}
32