IDNameQualifiersTrait::getNameQualifier()   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
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML2\XML\saml;
6
7
use SimpleSAML\SAML2\Type\SAMLStringValue;
8
9
/**
10
 * SAML IDNameQualifier attribute group.
11
 *
12
 * @package simplesamlphp/saml2
13
 */
14
trait IDNameQualifiersTrait
15
{
16
    /**
17
     * Collect the value of the NameQualifier-property
18
     *
19
     * @return \SimpleSAML\SAML2\Type\SAMLStringValue|null
20
     */
21
    public function getNameQualifier(): ?SAMLStringValue
22
    {
23
        return $this->NameQualifier;
24
    }
25
26
27
    /**
28
     * Collect the value of the SPNameQualifier-property
29
     *
30
     * @return \SimpleSAML\SAML2\Type\SAMLStringValue|null
31
     */
32
    public function getSPNameQualifier(): ?SAMLStringValue
33
    {
34
        return $this->SPNameQualifier;
35
    }
36
}
37