Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| NameBadge | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare( strict_types = 1 ); |
| 4 | |
| 5 | namespace EntitySchema\Services\Converter; |
| 6 | |
| 7 | /** |
| 8 | * @license GPL-2.0-or-later |
| 9 | */ |
| 10 | class NameBadge { |
| 11 | |
| 12 | public string $label; |
| 13 | |
| 14 | public string $description; |
| 15 | |
| 16 | /** @var string[] */ |
| 17 | public array $aliases; |
| 18 | |
| 19 | public function __construct( string $label, string $description, array $aliases ) { |
| 20 | $this->label = $label; |
| 21 | $this->description = $description; |
| 22 | $this->aliases = $aliases; |
| 23 | } |
| 24 | |
| 25 | } |