Test Failed
Branch master (fdda4e)
by ANTHONIUS
03:39
created

Jabatan::getNama()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/*
4
 * This file is part of the EOffice project.
5
 *
6
 * (c) Anthonius Munthi <https://itstoni.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace EOffice\Organization\Model;
15
16
use EOffice\Contracts\Organization\Model\JabatanInterface;
17
18
class Jabatan implements JabatanInterface
19
{
20
    protected string $id;
21
    protected string $nama;
22
23
    public function __construct(string $nama)
24
    {
25
        $this->nama = $nama;
26
    }
27
28
    /**
29
     * @return string
30
     */
31
    public function getId(): string
32
    {
33
        return $this->id;
34
    }
35
36
    /**
37
     * @return string
38
     */
39
    public function getNama(): string
40
    {
41
        return $this->nama;
42
    }
43
}
44