| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 9 | class SchnorrSignature extends Serializable implements SchnorrSignatureInterface |
||
| 10 | { |
||
| 11 | private $context; |
||
| 12 | private $schnorrSig; |
||
| 13 | public function __construct($context, $schnorrSig) |
||
| 14 | { |
||
| 15 | $this->context = $context; |
||
| 16 | $this->schnorrSig = $schnorrSig; |
||
| 17 | } |
||
| 18 | public function getResource() |
||
| 19 | { |
||
| 20 | return $this->schnorrSig; |
||
| 21 | } |
||
| 22 | public function getBuffer(): BufferInterface |
||
| 29 | } |
||
| 30 | } |