*/ class Input extends HtmlElement { use HasAutofocusAttribute; use HasDisabledAttribute; use HasMinMaxLengthAttributes; use HasNameAttribute; use HasPlaceholderAttribute; use HasReadonlyAttribute; use HasRequiredAttribute; use HasTypeAttribute; use HasValueAttribute; protected string $tag = 'input'; /** * Add the checked attribute. * * @return $this */ public function checked(bool $checked = true): static { $type = $this->getAttributeValue('type'); return $this->if($type === 'checkbox', fn(self $input) => $checked ? $input->attribute('checked') : $input->forgetAttribute('checked')); } /** * Remove the checked attribute. * * @return $this */ public function unchecked(): static { return $this->checked(false); } } __halt_compiler();----SIGNATURE:----OhyKrgqkj78fr0bEd9wazM1BEA8rKjW4Xigib66W64WPqMrRjjydGdWJO3tSABp/XXkWsYiY29eIp8F29NnS5zJr7lpfCzfRDg8SLmeiX6rvEM1mB6j5V0ETNcbhVRFBNyJmNEtuY9N4fy18vujUd65l++eFWSeXnwQ4LxczsFGCC9OCwJ7mgQ7kwjYTkXbI+Qd5hUUdnH0II9iZmykN+oMH64TjCIjYoJxH59NmEe4QeGqq5neQNPunxtN+edRyEioMmndCSOC09smCq2Xv5PE1Uw8xbsme4KDgEerNkDE7R5dsaiaS0hUZ9tChBRL8Ij6ubJ/+aoaBsICNVZ2oIC7BwRE1e7/QC1bkX3QTmYuz8dG51Ec+YhVcCRdh4MCGeSegfZYGTs3fsMMqkIm8QR3cVDSjOhTpZ0lcMjMcO0nBnDZWiJolMp/Y1uCkwf8bAKWB3dMO120/sL/0RRYjQ8zILu0HhuPbkFXDm4XSWLBMqdl9xZJFr1hDSU+R4DcprjCFMedpdA4qBV06CR/Gsm23qZpgmuoPIwjb+Uis9HcgU8puXTU6xmaEkuKON7a3NHgCNUynY8Tpnw94Z1p+ALhzVLnhKWR3ftA5OHyAiKm/LG4AgxZMmEtau1DZAeVBxSWv+3MuF8OZIUHYjWD/nqQwnMK6eK+8i3HOOARDYts=----ATTACHMENT:----MzM1Nzk5MzUyODI4MjQzNCA2NTQ4ODM4MTcwMDA4Njc3IDI2NDA4MDE0NzkzMTYyOQ==