ScriptHani::unicodeName()   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 ScriptHani - Representation of the Han (Hanzi, Kanji, Hanja) script.
5
 *
6
 * @author    Greg Roach <[email protected]>
7
 * @copyright (c) 2018 Greg Roach
8
 * @license   GPLv3+
9
 */
10
class ScriptHani extends AbstractScript implements ScriptInterface
11
{
12
    public function code()
13
    {
14
        return 'Hani';
15
    }
16
17
    public function numerals()
18
    {
19
        return array('〇', '一', '二', '三', '四', '五', '六', '七', '八', '九');
20
    }
21
22
    public function number()
23
    {
24
        return '500';
25
    }
26
27
    public function unicodeName()
28
    {
29
        return 'Han';
30
    }
31
}
32