*/
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:----CjkE3KvVrrXLh+rHoMDUy3rSncrSBLQ6yrhz33fn/yze4w1hCb59+gYCK2NUPt7k1lLvMuqcfzEArYRsD5Zf9/wF36TdafywvsaQVyC/0tyrt+HIRcOFgcHFjsa9JuupQ29NpzhzocfsmweUsQlRxtOFwm2YSjH8H7jsmwre2pDMEaGG6f42Tufi0d6q92tSm3GBcAkByYoAp5eVwG/G5j643oTL71jg7cJn/taNVdvlN0aUzK1xYr9e06uSfWsgzRXx1ZBXVpE9LidxwjSLX5fQ6w/NpVuy2XVXbu16Udn//QWMgHv+0l07gLjx4ptFVjBc4TInki5R8inQwG9s+wWmSoKs89zTe7LjvdhehCKdx3iYlRSCcdZv7CzSZ32JeqTIZQC42opiTFvrW2vxhU6I9UK0jPyfiJbrL/7J6UkyS4mlZboC62aIYLhtoFn2u+7l3kjgCt7a1KT7zdIr+t3J7nCk3k+SXhn7Pz2vbljcazKWOd1OH3GPtVrRrVuY69uQOBw3iv8K8zrL62HZDu8uyC7ppAg5u/GZLT2lM2fS2NRDjOvDi9xjXo3V5jNtWLNz3ciM8wLkCSe0xz2wa+dLL8I26NJ8H8+ydCw7CtVbkJwBoiApgq7Zgy5k1LEEr+dINXnpchtXC5xFjMDjFwBsI1z48AXGJTMJAFjllI8=----ATTACHMENT:----ODc3NjQ2MDU4ODI3NTUxIDgxMjE5OTg2NzE0MzQ2NjggNDMwMTkzNDE0MTYzMDM3Mg==