| 1 | <?php |
||
| 8 | class Entry |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $value; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $label; |
||
| 19 | |||
| 20 | 1 | public function __construct() |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param $value |
||
| 28 | * |
||
| 29 | * @return $this |
||
| 30 | */ |
||
| 31 | 1 | public function setValue($value) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @param $label |
||
| 40 | * |
||
| 41 | * @return $this |
||
| 42 | */ |
||
| 43 | 1 | public function setLabel($label) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | 1 | public function getLabel() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 1 | public function getValue() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return array |
||
| 68 | */ |
||
| 69 | 1 | public function toArray() |
|
| 85 | } |
||
| 86 |