Files
lucent-laravel/src/Schema/CollectionSchema.php
T
2023-10-15 19:14:07 +03:00

30 lines
647 B
PHP

<?php
namespace Lucent\Schema;
use Lucent\Primitive\Collection;
class CollectionSchema implements Schema
{
public Type $type = Type::COLLECTION;
/**
* @param Collection<FieldInterface> $fields
* @param array<string> $visible
*/
function __construct(
public string $name,
public string $label,
public array $visible,
public array $groups,
public Collection $fields,
public bool $isEntry = false,
public string $color = "",
public string $titleTemplate = "",
public int $revisions = 0,
)
{
}
}