playing with extensible fields

This commit is contained in:
lexx committed 2024-10-11 16:04:44 +03:00
1 parent dfe4576725
commit b19a84b6ba
32 files changed
+675 -109

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
namespace Lucent\Schema;
use Lucent\Field\Field;
use Lucent\Primitive\Collection;
class SingletonSchema implements Schema
@@ -9,7 +10,7 @@ class SingletonSchema implements Schema
public Type $type = Type::COLLECTION;
/**
* @param Collection<FieldInterface> $fields
* @param Collection<Field> $fields
*/
function __construct(
public string $name,