Institution   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
c 0
b 0
f 0
dl 0
loc 21
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A getName() 0 3 1
A __construct() 0 6 1
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