Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class Descriptor |
||
8 | { |
||
9 | public string $name; |
||
10 | protected int $type; |
||
11 | |||
12 | /** |
||
13 | * @param array<int, int>|null $bytes |
||
14 | */ |
||
15 | 19 | public function __construct(public string $stdId = '', public int $version = 0, protected ?array $bytes = null) |
|
17 | 19 | } |
|
18 | |||
19 | 19 | public function getType(): int |
|
22 | } |
||
23 | |||
24 | abstract public function init(IsoFile $isoFile, int &$offset): void; |
||
25 | } |
||
26 |