for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace WebTheory\Html\Attributes;
use WebTheory\Html\Contracts\HtmlAttributeInterface;
abstract class AbstractHtmlAttribute implements HtmlAttributeInterface
{
protected string $name;
public function __toString(): string
return $this->parse();
}
public function getAttrStr(): string
return "{$this->name}=\"{$this->parse()}\"";