Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | abstract class AbstractNamedCurveType extends AbstractDsig11Element |
||
17 | { |
||
18 | /** |
||
19 | * Initialize a NamedCurveType element. |
||
20 | * |
||
21 | * @param string $URI |
||
22 | */ |
||
23 | public function __construct( |
||
24 | protected string $URI, |
||
25 | ) { |
||
26 | Assert::validURI($URI, SchemaViolationException::class); |
||
27 | } |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Collect the value of the URI-property |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getURI(): string |
||
38 | } |
||
39 | |||
40 | |||
41 | /** |
||
42 | * Convert this NamedCurveType element to XML. |
||
43 | * |
||
44 | * @param \DOMElement|null $parent The element we should append this NamedCurveType element to. |
||
45 | * @return \DOMElement |
||
46 | */ |
||
47 | public function toXML(?DOMElement $parent = null): DOMElement |
||
53 | } |
||
54 | } |
||
55 |