Passed
Push — master ( 4c710f...167df6 )
by Tim
14:01
created

KeyWrapAlgorithm::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\WSSecurity\XML\wst_200512;
6
7
use SimpleSAML\XML\URIElementTrait;
8
9
/**
10
 * A KeyWrapAlgorithm element
11
 *
12
 * @package simplesamlphp/ws-security
13
 */
14
final class KeyWrapAlgorithm extends AbstractWstElement
15
{
16
    use URIElementTrait;
17
18
19
    /**
20
     * @param string $content
21
     */
22
    public function __construct(string $content)
23
    {
24
        $this->setContent($content);
25
    }
26
}
27