for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spatie\Html\Elements;
use Spatie\Html\BaseElement;
class Button extends BaseElement
{
protected $tag = 'button';
/**
* @param string|null $type
*
* @return static
*/
public function type($type)
return $this->attribute('type', $type);
}
* @param string|null $value
public function value($value)
return $this->attribute('value', $value);