Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
RequestedAttachment
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
3 / 3
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2/** @noinspection PhpUnhandledExceptionInspection */
3declare(strict_types=1);
4
5class RequestedAttachment {
6    public readonly string $unitName;
7    public readonly string $attachmentType;
8    public readonly string $variableId;
9
10    function __construct(
11        string $unitName,
12        string $attachmentType,
13        string $variableId
14    ) {
15        $this->unitName = $unitName;
16        $this->attachmentType = $attachmentType;
17        $this->variableId = $variableId;
18    }
19}