| Total Complexity | 1 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | abstract class AbstractOpenAttrs extends AbstractAnyType |
||
| 15 | { |
||
| 16 | /** The namespace-attribute for the xs:any element */ |
||
| 17 | public const array XS_ANY_ELT_NAMESPACE = []; |
||
|
|
|||
| 18 | |||
| 19 | /** The namespace-attribute for the xs:anyAttribute element */ |
||
| 20 | public const string XS_ANY_ATTR_NAMESPACE = NS::OTHER; |
||
| 21 | |||
| 22 | |||
| 23 | /** |
||
| 24 | * AbstractAnyType constructor |
||
| 25 | * |
||
| 26 | * @param array<\SimpleSAML\XML\Attribute> $attributes |
||
| 27 | */ |
||
| 28 | public function __construct( |
||
| 29 | array $attributes = [], |
||
| 30 | ) { |
||
| 31 | /** |
||
| 32 | * NOTE: no elements allowed here: |
||
| 33 | * |
||
| 34 | * @see XML Schema specification (Part 1, Section 3.4.2) |
||
| 35 | * |
||
| 36 | * If no content model is specified in a restriction, the content model is effectively empty |
||
| 37 | * for elements unless mixed content is explicitly allowed. |
||
| 38 | */ |
||
| 39 | parent::__construct([], $attributes); |
||
| 40 | } |
||
| 42 |