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