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 Textarea extends BaseElement
{
protected $tag = 'textarea';
/**
* @return static
*/
public function autofocus()
return $this->attribute('autofocus');
}
public function placeholder(string $placeholder)
return $this->attribute('placeholder', $placeholder);
* @param string $name
*
public function name(?string $name)
return $this->attribute('name', $name);
* @param string $value
public function value(?string $value)
return $this->html($value);