* * @method \Arcanedev\Html\Elements\Option selectedUnless(bool $condition) */ class Option extends HtmlElement implements Selectable { use Concerns\HasDisabledAttribute; use Concerns\HasValueAttribute; protected string $tag = 'option'; /** * Add the selected if it fulfill the condition. * * @return $this */ public function selectedIf(bool $condition): static { return $condition ? $this->attribute('selected') : $this->forgetAttribute('selected'); } /** * Add the selected attribute. */ public function selected(): static { return $this->selectedIf(true); } /** * Remove the selected attribute. */ public function unselected(): static { return $this->selectedIf(false); } } __halt_compiler();----SIGNATURE:----eQfd+Fz7k29hcLgbEX08I8MkxhMcZjkFWw8gzgQ4w1+/Dqdx0g/KLSyTruvoY8/IvVJVD/F+segv1IpdECk8nbJ9uHe+sghFHNAld8l5/mxDanrMxx3cUe0Rvu41cpyx40l4HwzbyQQqVzxT/sMTJO1mowkA3EoiGAgLVP4Mf2sgPMP0ZRBkOZ55mHnOajD+bXDVo/e5TgpVfXbGnsxqAqy/RXIkKBH9w9TxXKgyLqI0DN9VWWbNLHFgLjM7RXieSMW3xFzLr5aLXm3y/Mj+uYD9AG4CNiBq3o6Nb1DkPrh8GE8qNpGISzjV/k3Bcc5+FmmvoaEW+6F9NosKe/Z+7nh35nmQjHJ0nL0ujwt9OzRrx7/BtEra+0iJgxYSwAXiP2/gyDji7hf56rg6pPKdIxd58AH2SnNs8WHAMC6o13X5sxO0CPa2r83QJsRZiz1qGGw/O04yok9qtYk3OZ5JZhFJIM7+qqkrtGFANlaHqJ5eoTzchGnqH3F1MAxPFPQAi4p0r+5Fkipyaik7cybAxZOyzBNtgS5oaBjgc3JheB7IJdsV0u7pvzbZk4RUdJqV8Zd/F91A5TviPtzxkLVXbOJ46tHuNplsKrP13zP2YDlGs37yYwMXj0I++Z1+HLgCoMd+0p/FfdOrOyw61mjQQrNOrZ+ru5NjMqdVTMsSYsM=----ATTACHMENT:----NTIwMjM2MDYzOTQwMTUxNyA0MDkwMzIxMDk4MjM3MzgxIDY2MzU1MjU2OTk0NTkwMTQ=