SurName
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
c 0
b 0
f 0
wmc 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML2\XML\md;
6
7
use SimpleSAML\SAML2\Type\SAMLStringValue;
8
use SimpleSAML\XML\SchemaValidatableElementInterface;
9
use SimpleSAML\XML\SchemaValidatableElementTrait;
10
use SimpleSAML\XML\TypedTextContentTrait;
11
12
/**
13
 * Class implementing SurName.
14
 *
15
 * @package simplesamlphp/saml2
16
 */
17
final class SurName extends AbstractMdElement implements SchemaValidatableElementInterface
18
{
19
    use SchemaValidatableElementTrait;
20
    use TypedTextContentTrait;
0 ignored issues
show
introduced by
The trait SimpleSAML\XML\TypedTextContentTrait requires some properties which are not provided by SimpleSAML\SAML2\XML\md\SurName: $localName, $namespaceURI
Loading history...
21
22
23
    /** @var string */
24
    public const TEXTCONTENT_TYPE = SAMLStringValue::class;
25
}
26