simplesamlphp /
xml-common
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace SimpleSAML\XMLSchema\XML; |
||
| 6 | |||
| 7 | use SimpleSAML\XMLSchema\Type\IDValue; |
||
| 8 | use SimpleSAML\XMLSchema\Type\QNameValue; |
||
| 9 | use SimpleSAML\XMLSchema\XML\Constants\NS; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Abstract class representing the groupRef-type. |
||
| 13 | * |
||
| 14 | * @package simplesamlphp/xml-common |
||
| 15 | */ |
||
| 16 | abstract class AbstractReferencedGroup extends AbstractRealGroup |
||
| 17 | { |
||
| 18 | /** The namespace-attribute for the xs:anyAttribute element */ |
||
| 19 | public const string XS_ANY_ATTR_NAMESPACE = NS::OTHER; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 20 | |||
| 21 | |||
| 22 | /** |
||
| 23 | * Group constructor |
||
| 24 | * |
||
| 25 | * @param \SimpleSAML\XMLSchema\Type\QNameValue $reference |
||
| 26 | * @param \SimpleSAML\XMLSchema\XML\Annotation|null $annotation |
||
| 27 | * @param \SimpleSAML\XMLSchema\Type\IDValue|null $id |
||
| 28 | * @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes |
||
| 29 | */ |
||
| 30 | public function __construct( |
||
| 31 | QNameValue $reference, |
||
| 32 | ?Annotation $annotation = null, |
||
| 33 | ?IDValue $id = null, |
||
| 34 | array $namespacedAttributes = [], |
||
| 35 | ) { |
||
| 36 | parent::__construct( |
||
| 37 | reference: $reference, |
||
| 38 | annotation: $annotation, |
||
| 39 | id: $id, |
||
| 40 | namespacedAttributes: $namespacedAttributes, |
||
| 41 | ); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |