19 lines
346 B
PHP
19 lines
346 B
PHP
<?php
|
|
|
|
namespace Modules\Builder\Contracts;
|
|
|
|
interface BuilderComponent
|
|
{
|
|
public function type(): string;
|
|
|
|
public function label(): string;
|
|
|
|
public function category(): string;
|
|
|
|
public function schema(): array;
|
|
|
|
public function defaults(): array;
|
|
|
|
public function render(array $properties, array $context = []): string;
|
|
}
|