Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class AttestationObjectParser |
||
20 | { |
||
21 | /** |
||
22 | * @var Decoder |
||
23 | */ |
||
24 | private $decoder; |
||
25 | |||
26 | /** |
||
27 | * AttestationObjectParser constructor. |
||
28 | * |
||
29 | * @param Decoder $decoder |
||
30 | */ |
||
31 | public function __construct(Decoder $decoder) |
||
32 | { |
||
33 | $this->decoder = $decoder; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param string $attestationObject |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | public function parse(string $attestationObject): array |
||
48 | } |
||
49 | } |
||
50 |