| 1 | <?php |
||
| 9 | class Option extends BaseElement implements Selectable |
||
| 10 | { |
||
| 11 | use Value; |
||
| 12 | |||
| 13 | /** @var string */ |
||
| 14 | protected $tag = 'option'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return static |
||
| 18 | */ |
||
| 19 | public function selected() |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param bool $condition |
||
| 26 | * |
||
| 27 | * @return static |
||
| 28 | */ |
||
| 29 | public function selectedIf($condition) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return static |
||
| 38 | */ |
||
| 39 | public function unselected() |
||
| 43 | } |
||
| 44 |