Passed
Push — master ( 25fd26...1cb796 )
by Jaime Pérez
02:17
created

EncryptionMethod::fromXML()   B

Complexity

Conditions 6
Paths 6

Size

Total Lines 34
Code Lines 21

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 6
eloc 21
nc 6
nop 1
dl 0
loc 34
rs 8.9617
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SAML2\XML\md;
6
7
use SAML2\Constants;
8
9
/**
10
 * A class implementing the md:EncryptionMethod element.
11
 *
12
 * @package simplesamlphp/saml2
13
 */
14
class EncryptionMethod extends \SAML2\XML\xenc\EncryptionMethod
15
{
16
    /** @var string */
17
    public const NS = Constants::NS_MD;
18
19
    /** @var string */
20
    public const NS_PREFIX = 'md';
21
}
22