Value   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SOAP\XML\env_200305;
6
7
use SimpleSAML\XML\QNameElementTrait;
8
9
/**
10
 * Class representing a env:Value element.
11
 *
12
 * @package simplesaml/xml-soap
13
 */
14
final class Value extends AbstractSoapElement
15
{
16
    use QNameElementTrait;
17
18
19
    /**
20
     * Initialize a env:Value
21
     *
22
     * @param string $qname
23
     * @param string|null $namespaceUri
24
     */
25
    public function __construct(string $qname, ?string $namespaceUri = null)
26
    {
27
        $this->setContent($qname);
28
        $this->setContentNamespaceUri($namespaceUri);
29
    }
30
}
31