*/
class Form extends HtmlElement
{
use HasTargetAttribute;
protected string $tag = 'form';
/**
* Add the action attribute.
*
* @return $this
*/
public function action(?string $action): static
{
return $this->attribute('action', $action);
}
/**
* Add the method attribute.
*
* @return $this
*/
public function method(string $method): static
{
$method = mb_strtoupper($method);
return $this->attribute('method', $method === 'GET' ? 'GET' : 'POST');
}
/**
* Add the novalidate attribute.
*
* @return $this
*/
public function novalidate(bool $novalidate = true): static
{
return $novalidate
? $this->attribute('novalidate')
: $this->forgetAttribute('novalidate');
}
/**
* Add the enctype attribute for files.
*
* @return $this
*/
public function acceptsFiles(): static
{
return $this->attribute('enctype', 'multipart/form-data');
}
}
__halt_compiler();----SIGNATURE:----wh+v0upqkgnIO1Hk1G+InlHXyFdm5Uh1mAOvqDW8LFRIE9h/0VqByWb+7nG3bhVnkmqrWSS15Cs7Px5w0vEjBwMQILTsSuKBRrpSlOgOzlvgeJa84Alvezuaj848BIbBqeDLApoxvf9Tlb3oS5VbwaNVZfJEB0NzBdXHOXXP+ZK+6sEn4VYJuouIczNFo/u3TuReUDTkp3vsB2XxGA8gmqaSDbnDlZks2MpENMN6eQqIqSibrv08nFjSIvmuebYkAogX+votj+7b6Bca2dAC3ncCWJpe0j9M8wb44s65Yq5kfg9apYovaOd751sFckJSOiaVaeySz2FkATbdC7z+Cqv4wj7R3WuKdsYbp1yOg4iEOBvd+uCVft/TqQwsnnlTePo/cEUQzU9TXCT56wbulzwOUVGxULlMaPfH+sQBse4J55Sq3Ri1ULuspowI0YBs/06Gnnr6PhARsZh1Vt3LeslVttjkI2nR9mqsIHi9vPoRVr+5nyYU4+tv/8qsmaxZ0nYraXt8ZhODqaYzxeOwuCwxomA7TcEmMfkYcO8CY/PUDzRLqh+LYBejiF1JQSxqVw2L+qDhcEZE6ydWu80ckUXh3zgN44/YzFYIWI9ftye5TOY65lxhg5dP08byX4Q7LGxXA1ovsrq82jcBixv1JpqvszDmvn5rQBI7SLi7rz0=----ATTACHMENT:----Mzk1MjIxNDczMzI2MDI4NSAyNTY4MzE1ODk1NDU3OTQ5IDkwODM0NzMwNzY1MjgxMTc=