for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Enjoys\Forms\Elements;
use Enjoys\Forms\Element;
class Html extends Element
{
public function __construct(string $title)
parent::__construct(\uniqid('html'), $title);
$this->getAttributeCollection()
->remove('name')
->remove('id')
;
}
public function baseHtml(): string
return $this->getLabel() ?? '';