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');
}
* @param string|null $placeholder
*
public function placeholder($placeholder)
return $this->attribute('placeholder', $placeholder);
* @param string $name
public function name($name)
return $this->attribute('name', $name);
public function required()
return $this->attribute('required');
* @param string|null $value
public function value($value)
return $this->html($value);