Institution::getName()   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
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Beccha\OfxParser\Entity;
6
7
final class Institution
8
{
9
    private string $id;
10
    private string $name;
11
12
    public function __construct(
13
        string $id,
14
        string $name
15
    ) {
16
        $this->id = $id;
17
        $this->name = $name;
18
    }
19
20
    public function getId(): string
21
    {
22
        return $this->id;
23
    }
24
25
    public function getName(): string
26
    {
27
        return $this->name;
28
    }
29
}
30