Total Complexity | 7 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class Signature extends BaseComponent { |
||
17 | |||
18 | protected $ID; |
||
19 | |||
20 | /** @var SignatoryParty */ |
||
21 | protected $SignatoryParty; |
||
22 | |||
23 | /** @var DigitalSignatureAttachment */ |
||
24 | protected $DigitalSignatureAttachment; |
||
25 | |||
26 | function xmlSerialize(Writer $writer) { |
||
27 | $me = $this; |
||
28 | $writer->write([ |
||
29 | SchemaNS::CBC . 'ID' => $me->ID, |
||
30 | SchemaNS::CAC . 'SignatoryParty' => $me->SignatoryParty, |
||
31 | SchemaNS::CAC . 'DigitalSignatureAttachment' => $me->DigitalSignatureAttachment |
||
32 | ]); |
||
33 | } |
||
34 | public function getID() { |
||
35 | return $this->ID; |
||
36 | } |
||
37 | |||
38 | public function setID($ID) { |
||
39 | $this->ID = $ID; |
||
40 | return $this; |
||
41 | } |
||
42 | |||
43 | public function getSignatoryParty() { |
||
45 | } |
||
46 | |||
47 | public function setSignatoryParty(SignatoryParty $SignatoryParty) { |
||
48 | $this->SignatoryParty = $SignatoryParty; |
||
49 | return $this; |
||
50 | } |
||
51 | public function getDigitalSignatureAttachment() { |
||
52 | return $this->DigitalSignatureAttachment; |
||
53 | } |
||
54 | |||
55 | public function setDigitalSignatureAttachment(DigitalSignatureAttachment $DigitalSignatureAttachment) { |
||
58 | } |
||
59 | |||
60 | } |
||
61 |