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;
use Illuminate\Support\Traits\Macroable;
class Textarea extends BaseElement
{
use Macroable;
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);
* @param string|null $value
public function value($value)
return $this->html($value);
* @param string|null $style
public function style($style)
return $this->attribute('style', $style);