*/ class File extends HtmlElement { use HasAutofocusAttribute; use HasNameAttribute; use HasRequiredAttribute; public const ACCEPT_AUDIO = 'audio/*'; public const ACCEPT_VIDEO = 'video/*'; public const ACCEPT_IMAGE = 'image/*'; protected string $tag = 'input'; /** * File constructor. */ public function __construct() { parent::__construct(); $this->getAttributes()->set('type', 'file'); } /** * Add the accept attribute. * * @return $this */ public function accept(string $type): static { return $this->attribute('accept', $type); } /** * Add the accept attribute (audios). * * @return $this */ public function acceptAudio(): static { return $this->accept(self::ACCEPT_AUDIO); } /** * Add the accept attribute (videos). * * @return $this */ public function acceptVideo(): static { return $this->accept(self::ACCEPT_VIDEO); } /** * Add the accept attribute (images). * * @return $this */ public function acceptImage(): static { return $this->accept(self::ACCEPT_IMAGE); } /** * Add the multiple attribute. * * @return $this */ public function multiple(): static { return $this->attribute('multiple'); } } __halt_compiler();----SIGNATURE:----vmdu5zWg0HjTMN7WyYnXUh/j5gyhyCTeW2yzu3Bq/oiN5qzR46c+14wjR2n4hOeHH3GM/l3P5VtN0rH0nfq91lOzDis93S1LdubCxq05me2QsIzA6EfvUAxttETDoK8DKwC3YWJkgPrDaCq/gBrKJ+YbtpV9i0zZkPiAJSZOKwTEwsRoJjAp9oWZdlrNj0oNepYL060or9Rd1420+uszh6+tH9IwK8S8fAE9+2NxmzQM+cngbTebev5z+296JpFYSYX3rUqtuaAeoyrIbmcXH1rfsJ2/dDOj4/92on4RwDrJ8mpvDbb0AyOFCPK/84f4FZPUOSJNuEABpG9e7MpceVok3qTLNciv0MvNBQQKsSYg7yU9aUKyoDG8ea4ZC2funHpV0RT/1VBQfTluXvg3qUhQldq2VFljPppV9kZQefIFLGGxCk2kKFjlTBZUl6BmrxUPja2spRm8wB1Jg55hYT4V8BPqImOxyTcBAG8Gwu2WJiLSmqMY+B/sr1g2vfc9nKdgMVQniivUDvsTj2jUA5Rn7cLk9I9tP4N/XX/J1RR+9nhK5Ea9vJ/wRMg02s8IIHav2EcujI9AfPb3YCryTfIA1rcdLYveDL03y73O5+qGBmmi6tes9RF2e4SVZr0bLvxqidQs4vZQO5nQjpMxuWV076SOlbossZ2Mk+F3n/c=----ATTACHMENT:----NjI1MTk2ODA0OTE2Njk5NyAzNjA3ODQyNjM2NzE3NzA3IDEyNDY4OTE1MDU4NTMwODk=