Passed
Pull Request — master (#19)
by Tim
02:42
created

AutomaticPseudonyms::fromXML()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 17
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 11
c 1
b 0
f 0
dl 0
loc 17
rs 9.9
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\WSSecurity\XML\fed;
6
7
use SimpleSAML\XML\SchemaValidatableElementInterface;
8
use SimpleSAML\XML\SchemaValidatableElementTrait;
9
use SimpleSAML\XML\TypedTextContentTrait;
10
use SimpleSAML\XMLSchema\Type\BooleanValue;
11
12
/**
13
 * A AutomaticPseudonyms element
14
 *
15
 * @package simplesamlphp/ws-security
16
 */
17
final class AutomaticPseudonyms extends AbstractFedElement implements SchemaValidatableElementInterface
18
{
19
    use SchemaValidatableElementTrait;
0 ignored issues
show
introduced by
The trait SimpleSAML\XML\SchemaValidatableElementTrait requires some properties which are not provided by SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonyms: $message, $line
Loading history...
20
    use TypedTextContentTrait;
0 ignored issues
show
introduced by
The trait SimpleSAML\XML\TypedTextContentTrait requires some properties which are not provided by SimpleSAML\WSSecurity\XML\fed\AutomaticPseudonyms: $localName, $namespaceURI
Loading history...
21
22
    /** @var string */
23
    public const TEXTCONTENT_TYPE = BooleanValue::class;
24
}
25