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
Group
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 Group extends DataCollectionTypeSafe {
6  readonly string $label;
7  readonly string $name;
8  readonly ExpirationState $_expired;
9
10  function __construct(string $name, string $label, ExpirationState $expired = new ExpirationState(ExpirationStateType::None)) {
11    $this->label = $label;
12    $this->name = $name;
13    $this->_expired = $expired;
14  }
15}