Completed
Push — master ( da4b66...3ae217 )
by Tim
19s queued 15s
created

AssertionArtifact   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML11\XML\samlp;
6
7
use SimpleSAML\XML\StringElementTrait;
8
9
/**
10
 * SAML AssertionArtifact element.
11
 *
12
 * @package simplesamlphp/saml11
13
 */
14
15
final class AssertionArtifact extends AbstractSamlpElement
16
{
17
    use StringElementTrait;
18
19
20
    /**
21
     * Initialize a saml:AssertionArtifac from scratch
22
     *
23
     * @param string $value
24
     */
25
    public function __construct(
26
        protected string $value,
27
    ) {
28
        $this->setContent($value);
29
    }
30
}
31