Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 4 |
EntitySchema\Services\SchemaConverter\NameBadge | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
__construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
<?php | |
namespace EntitySchema\Services\SchemaConverter; | |
/** | |
* @license GPL-2.0-or-later | |
*/ | |
class NameBadge { | |
/** @var string */ | |
public $label; | |
/** @var string */ | |
public $description; | |
/** string[] */ | |
public $aliases; | |
public function __construct( $label, $description, array $aliases ) { | |
$this->label = $label; | |
$this->description = $description; | |
$this->aliases = $aliases; | |
} | |
} |