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