GroupAttributeValue   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types = 1);
4
5
namespace X509\AttributeCertificate\Attribute;
6
7
/**
8
 * Implements value for 'Group' attribute.
9
 *
10
 * @link https://tools.ietf.org/html/rfc5755#section-4.4.4
11
 */
12
class GroupAttributeValue extends IetfAttrSyntax
13
{
14
    const OID = "1.3.6.1.5.5.7.10.4";
15
    
16
    /**
17
     * Constructor.
18
     *
19
     * @param IetfAttrValue ...$values
20
     */
21 7
    public function __construct(IetfAttrValue ...$values)
22
    {
23 7
        parent::__construct(...$values);
24 7
        $this->_oid = self::OID;
25 7
    }
26
}
27