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
IndividualInfo
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 LambdaTwelve\OneRecord\Vocabulary;
6
7final readonly class IndividualInfo
8{
9    /**
10     * @param list<string> $types class IRIs
11     */
12    public function __construct(
13        public string $iri,
14        public string $name,
15        public array $types,
16        public string $since,
17        public ?string $removedIn,
18    ) {}
19}