Cent::getGender()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: rikosage
5
 * Date: 12/02/19
6
 * Time: 16:33
7
 */
8
9
namespace rikosage\NumberWordify\Unit\Currency;
10
11
use rikosage\NumberWordify\Base\Declinable;
12
use rikosage\NumberWordify\Unit\UnitInterface;
13
14
/**
15
 * Единица измерения: цент
16
 * @package rikosage\NumberWordify\Unit\Currency
17
 */
18
class Cent implements UnitInterface
19
{
20
    /**
21
     * @inheritdoc
22
     */
23
    public function getGender()
24
    {
25
        return Declinable::TYPE_MASCULINE;
26
    }
27
28
    /**
29
     * @inheritdoc
30
     */
31
    public function getItems()
32
    {
33
        return ['цент', 'цента', 'центов'];
34
    }
35
}