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 Img extends BaseElement
{
protected $tag = 'img';
/**
* @param string|null $alt
*
* @return static
*/
public function alt($alt)
return $this->attribute('alt', $alt);
}
* @param string|null $src
public function src($src)
return $this->attribute('src', $src);