| 1 | <?php |
||
| 7 | class Label |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var LabelName |
||
| 11 | */ |
||
| 12 | protected $labelName; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var bool |
||
| 16 | */ |
||
| 17 | protected $visible; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Label constructor. |
||
| 21 | * @param string $value |
||
| 22 | * @param bool $visible |
||
| 23 | */ |
||
| 24 | public function __construct($value, $visible = true) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param Label $label |
||
| 41 | * @return bool |
||
| 42 | */ |
||
| 43 | public function equals(Label $label) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return boolean |
||
| 53 | */ |
||
| 54 | public function isVisible() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @return string |
||
| 61 | */ |
||
| 62 | public function __toString() |
||
| 66 | } |
||
| 67 |