for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Formularium\Frontend\Materialize\Element;
use Formularium\Element;
use Formularium\HTMLNode;
class Badge extends Element
{
public function render(array $parameters, HTMLNode $previous): HTMLNode
$badgeMode = ''; // TODO
$badgeMode
$previous->addAttribute('class', "badge");
return $previous;
}