Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class EntityDefinition extends Definition { |
||
15 | private $class; |
||
16 | private $choiceLabel; |
||
17 | |||
18 | /** |
||
19 | * EntityDefinition constructor. |
||
20 | * @param $key |
||
21 | * @param $class |
||
22 | * @param $choiceLabel |
||
23 | */ |
||
24 | public function __construct($key, $class, $choiceLabel) { |
||
25 | parent::__construct($key); |
||
26 | $this->class = $class; |
||
27 | $this->choiceLabel = $choiceLabel; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function getClass() { |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return mixed |
||
39 | */ |
||
40 | public function getChoiceLabel() { |
||
44 |