| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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 |
||
| 42 | } |
||
| 43 | } |
||
| 44 |