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

EncryptWith::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 3
c 1
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_200502;
6
7
use SimpleSAML\XML\URIElementTrait;
8
9
/**
10
 * An EncryptWith element
11
 *
12
 * @package simplesamlphp/ws-security
13
 */
14
final class EncryptWith 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