| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 5 | class HmacKey |
||
| 6 | { |
||
| 7 | private string $content; |
||
| 8 | |||
| 9 | protected ?string $id; |
||
| 10 | |||
| 11 | public function __construct(string $value, ?string $id = null) |
||
| 12 | { |
||
| 13 | $this->content = $value; |
||
| 14 | $this->id = $id; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getContent(): string |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getId(): ?string |
||
| 25 | } |
||
| 26 | } |
||
| 27 |