playing with extensible fields

This commit is contained in:
2024-10-11 16:04:44 +03:00
parent dfe4576725
commit b19a84b6ba
32 changed files with 675 additions and 109 deletions
+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,