| 1 | <?php |
||
| 21 | class CertificateDocument extends AbstractDocument |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * cert |
||
| 25 | * @var string $cert |
||
| 26 | */ |
||
| 27 | protected $cert = null; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * key |
||
| 31 | * @var string $key |
||
| 32 | */ |
||
| 33 | protected $key = null; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * snis |
||
| 37 | * @var string $snis |
||
| 38 | */ |
||
| 39 | protected $snis = null; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * set cert |
||
| 43 | * |
||
| 44 | * @param string $cert |
||
| 45 | * |
||
| 46 | * @return this |
||
| 47 | */ |
||
| 48 | 1 | public function setCert(string $cert): self |
|
| 54 | |||
| 55 | /** |
||
| 56 | * get cert |
||
| 57 | * |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | 1 | public function getCert(): string |
|
| 64 | |||
| 65 | /** |
||
| 66 | * set key |
||
| 67 | * |
||
| 68 | * @param string $key |
||
| 69 | * |
||
| 70 | * @return this |
||
| 71 | */ |
||
| 72 | 1 | public function setKey(string $key): self |
|
| 78 | |||
| 79 | /** |
||
| 80 | * get key |
||
| 81 | * |
||
| 82 | * @return string |
||
| 83 | */ |
||
| 84 | 1 | public function getKey(): string |
|
| 88 | |||
| 89 | /** |
||
| 90 | * set snis |
||
| 91 | * |
||
| 92 | * @param string $snis |
||
| 93 | * |
||
| 94 | * @return this |
||
| 95 | */ |
||
| 96 | 1 | public function setSnis(string $snis): self |
|
| 102 | |||
| 103 | /** |
||
| 104 | * get snis |
||
| 105 | * |
||
| 106 | * @return string |
||
| 107 | */ |
||
| 108 | 1 | public function getSnis(): string |
|
| 112 | |||
| 113 | /** |
||
| 114 | * get fields |
||
| 115 | * |
||
| 116 | * @return array |
||
| 117 | */ |
||
| 118 | 2 | protected function getFields(): array |
|
| 126 | } |
||
| 127 |