| Total Complexity | 3 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | abstract class AbstractAttributeExtensibleString extends AbstractFedElement |
||
| 19 | { |
||
| 20 | use ExtendableAttributesTrait; |
||
| 21 | use TypedTextContentTrait; |
||
|
|
|||
| 22 | |||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | public const TEXTCONTENT_TYPE = StringValue::class; |
||
| 26 | |||
| 27 | /** The namespace-attribute for the xs:anyAttribute element */ |
||
| 28 | public const XS_ANY_ATTR_NAMESPACE = NS::OTHER; |
||
| 29 | |||
| 30 | |||
| 31 | /** |
||
| 32 | * @param \SimpleSAML\XMLSchema\Type\StringValue $content |
||
| 33 | * @param \SimpleSAML\XML\Attribute[] $namespacedAttributes |
||
| 34 | */ |
||
| 35 | public function __construct(StringValue $content, array $namespacedAttributes = []) |
||
| 39 | } |
||
| 40 | |||
| 41 | |||
| 42 | /** |
||
| 43 | * Create XML from this class |
||
| 44 | * |
||
| 45 | * @param \DOMElement|null $parent |
||
| 46 | * @return \DOMElement |
||
| 47 | */ |
||
| 48 | public function toXML(?DOMElement $parent = null): DOMElement |
||
| 60 |