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;
use Formularium\Metadata;
use Formularium\Frontend\HTML\Element\Table as HTMLTable;
class Table extends Element
{
public function render(array $parameters, HTMLNode $previous): HTMLNode
if ($parameters[HTMLTable::STRIPED] ?? false) {
$previous->addAttribute('class', 'striped');
}
return $previous;
public static function getMetadata(): Metadata
$metadata = HTMLTable::getMetadata();
return $metadata;