for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Formularium\Frontend\HTML\Element;
use Formularium\Element;
use Formularium\HTMLNode;
use Formularium\Metadata;
use Formularium\MetadataParameter;
class Card extends Element
{
const IMAGE = "image";
const LINK = "link";
const CONTENT = "content";
public function render(array $parameters, HTMLNode $previous): HTMLNode
return $previous;
}
public static function getMetadata(): Metadata
return new Metadata(
'Table',
'Creates a table',
[
new MetadataParameter(
static::TITLE,
'array',
'Is it disabled?'
),
static::IMAGE,
'bool',
'Is this table striped?'
static::LINK,
'Is this table bordered?'
)
]
);