SecurityIdentificationDetails   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 18
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
ccs 5
cts 5
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Fhp\DataElementGroups;
4
5
use Fhp\Deg;
6
7
/**
8
 * Class SecurityIdentificationDetails
9
 * @package Fhp\DataElementGroups
10
 */
11
class SecurityIdentificationDetails extends Deg
12
{
13
    const PARTY_MS = 1;   // sender
14
    const CID_NONE = '';
15
16
    /**
17
     * SecurityIdentificationDetails constructor.
18
     *
19
     * @param string $cid
20
     * @param int $systemId
21
     */
22 5
    public function __construct($cid = self::CID_NONE, $systemId = 0)
23
    {
24 5
        $this->addDataElement(static::PARTY_MS);
25 5
        $this->addDataElement($cid);
26 5
        $this->addDataElement($systemId);
27 5
    }
28
}
29