* * @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:----ODAvVq04Y3qW/3MCc8KwxKrTjbrV+aF0ngko9l8CGjbg0SuuzgjQDKeBDQOSt/0Sy1gzi0pcMjfOMt3I+PpGXzGVDIv/yl03bANHeQZnUhUjEr3/H9TmbbeOGZyXTvcRnuJOmV9PXsUCJGy2uhr3dLuxD7vSOpPyk9wqt5LLN4cfIfVpUSRo6CuA7ETnQxVWIdOOLG8Pw5QF3ZH/xbBtkn0s9giiDuB9adIqTyDC/Uu+ZNiYAxjdvz30Ee6R42Hu52sHxNOURrWmrhJXpP91pn8FjYpJoskrAy2K9/xG3ofwrtDFtwes70bFZz1jjQJBqwinrzo907NVyMgHCkf9CnSPAZxhg/SwMd3TcgWNFhKUWNuwVKRXgE2uQhkVeWMjj/2HL78UFiZ6KI7BWht5bb9aOAqK5bnDce9gSwTWhYFSqFmF/Q7gkRFCpcO65iPBx/2v4MKF4QdDGMkUWkgzWiTmnVArKKt299NSaVNCDvwo6coNipVYCfCHsN+EpwZbeChT0uYfobbrs8conZ2nQ12o7ICxFDfhn0+zsarVNZaWgCiXwhGZGO7HczReE3nW+PNR86GPnRG0DbZ6AYwIkavUUgqxlsPWfnltzWRbjQKl0dFdq3j5w1UfT+Y3ODVjG0sAxMw1rZf4WWNjqxAuuixs6BVNhR7n04c4hmaMmJc=----ATTACHMENT:----NDQ4ODc1MDYwMzQ4Nzc0NSA3MTMwMjk5NzI4MjE4NTgyIDE0MzkxOTk2MTUwNjAwNA==