Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | abstract class AbstractSubjectStatementType extends AbstractStatementType |
||
13 | { |
||
14 | /** |
||
15 | * CustomStatement constructor. |
||
16 | * |
||
17 | * @param \SimpleSAML\SAML11\XML\saml\Subject $subject |
||
18 | */ |
||
19 | public function __construct( |
||
20 | protected Subject $subject, |
||
21 | ) { |
||
22 | } |
||
23 | |||
24 | |||
25 | /** |
||
26 | * Get the value of the subject-attribute. |
||
27 | * |
||
28 | * @return \SimpleSAML\SAML11\XML\saml\Subject |
||
29 | */ |
||
30 | public function getSubject(): Subject |
||
33 | } |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Convert this SubjectStatement to XML. |
||
38 | * |
||
39 | * @param \DOMElement $parent The element we are converting to XML. |
||
40 | * @return \DOMElement The XML element after adding the data corresponding to this SubjectStatement. |
||
41 | */ |
||
42 | public function toXML(?DOMElement $parent = null): DOMElement |
||
49 | } |
||
50 | } |
||
51 |