Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
MetadataInfo
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Pdf\Toolkit;
6
7/**
8 * Read-only snapshot of a PDF's Info dictionary fields.
9 */
10final readonly class MetadataInfo
11{
12    public function __construct(
13        public ?string $title = null,
14        public ?string $author = null,
15        public ?string $subject = null,
16        public ?string $keywords = null,
17        public ?string $creator = null,
18        public ?string $producer = null,
19        public ?\DateTimeImmutable $creationDate = null,
20        public ?\DateTimeImmutable $modDate = null,
21        public ?string $trapped = null,
22    ) {}
23}