Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| SharedObjectHintTable | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | namespace Phpdftk\Pdf\Reader\Parser; |
| 6 | |
| 7 | /** |
| 8 | * Parsed shared object hint table — ISO 32000-2 §F.4.2. |
| 9 | */ |
| 10 | final class SharedObjectHintTable |
| 11 | { |
| 12 | /** |
| 13 | * @param list<SharedObjectHintEntry> $entries |
| 14 | */ |
| 15 | public function __construct( |
| 16 | public readonly int $firstSharedObjNumber, |
| 17 | public readonly int $firstSharedObjOffset, |
| 18 | public readonly int $numSharedGroups, |
| 19 | public readonly int $minGroupLength, |
| 20 | public readonly array $entries, |
| 21 | ) {} |
| 22 | } |