1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace SimpleSAML\XMLSchema\XML\xs; |
6
|
|
|
|
7
|
|
|
use SimpleSAML\XMLSchema\Type\Builtin\IDValue; |
8
|
|
|
use SimpleSAML\XMLSchema\Type\{MinOccursValue, MaxOccursValue}; |
9
|
|
|
use SimpleSAML\XMLSchema\XML\xs\NamespaceEnum; |
10
|
|
|
|
11
|
|
|
/** |
12
|
|
|
* Abstract class representing the explicitGroup-type. |
13
|
|
|
* |
14
|
|
|
* @package simplesamlphp/xml-common |
15
|
|
|
*/ |
16
|
|
|
abstract class AbstractExplicitGroup extends AbstractGroup |
17
|
|
|
{ |
18
|
|
|
/** The namespace-attribute for the xs:anyAttribute element */ |
19
|
|
|
public const XS_ANY_ATTR_NAMESPACE = NamespaceEnum::Other; |
20
|
|
|
|
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* Group constructor |
24
|
|
|
* |
25
|
|
|
* @param \SimpleSAML\XMLSchema\Type\MinOccursValue|null $minOccurs |
26
|
|
|
* @param \SimpleSAML\XMLSchema\Type\MaxOccursValue|null $maxOccurs |
27
|
|
|
* @param array<\SimpleSAML\XMLSchema\XML\xs\NestedParticleInterface> $nestedParticles |
28
|
|
|
* @param \SimpleSAML\XMLSchema\XML\xs\Annotation|null $annotation |
29
|
|
|
* @param \SimpleSAML\XMLSchema\Type\Builtin\IDValue|null $id |
30
|
|
|
* @param array<\SimpleSAML\XML\Attribute> $namespacedAttributes |
31
|
|
|
*/ |
32
|
|
|
public function __construct( |
33
|
|
|
?MinOccursValue $minOccurs = null, |
34
|
|
|
?MaxOccursValue $maxOccurs = null, |
35
|
|
|
array $nestedParticles = [], |
36
|
|
|
?Annotation $annotation = null, |
37
|
|
|
?IDValue $id = null, |
38
|
|
|
array $namespacedAttributes = [], |
39
|
|
|
) { |
40
|
|
|
parent::__construct( |
41
|
|
|
particles: $nestedParticles, |
42
|
|
|
minOccurs: $minOccurs, |
43
|
|
|
maxOccurs: $maxOccurs, |
44
|
|
|
annotation: $annotation, |
45
|
|
|
id: $id, |
46
|
|
|
namespacedAttributes: $namespacedAttributes, |
47
|
|
|
); |
48
|
|
|
} |
49
|
|
|
} |
50
|
|
|
|