Completed
Push — master ( b5ae25...349033 )
by Frederik
02:37
created

UPICAccount::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Genkgo\Camt\Camt052\DTO;
4
5
use Genkgo\Camt\DTO\Account;
6
7
/**
8
 * Class UPICAccount
9
 * @package Genkgo\Camt\Camt052
10
 */
11
class UPICAccount extends Account
12
{
13
    /**
14
     * @var string
15
     */
16
    private $upic;
17
18
    /**
19
     * @param string $upic
20
     */
21
    public function __construct($upic)
22
    {
23
        $this->upic = $upic;
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getUpic()
30
    {
31
        return (string) $this->upic;
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function getIdentification()
38
    {
39
        return (string) $this->upic;
40
    }
41
}
42