refactor fields

This commit is contained in:
lexx committed 2024-03-21 22:33:41 +02:00
1 parent bb77a37ff7
commit 8526fd471f
68 files changed
+635 -297

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?php
namespace Lucent\Schema;
use Lucent\Primitive\Collection;
use Lucent\Schema\Field\FieldDataInterface;
class EdgeSchema implements Schema
{
public Type $type = Type::EDGE;
/**
* @param Collection<FieldDataInterface> $fields
*/
function __construct(
public string $name,
public string $label,
public array $groups,
public Collection $fields,
public string $titleTemplate = "",
)
{
}
}