refactor fields
This commit is contained in:
@@ -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 = "",
|
||||
)
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user