crazy stuff
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php namespace Lucent\Core\Schema\Data;
|
||||
|
||||
class Field
|
||||
{
|
||||
public function __construct(
|
||||
public string $id,
|
||||
public string $label,
|
||||
public string $type,
|
||||
) {}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php namespace Lucent\Core\Schema\Data;
|
||||
|
||||
class Schema
|
||||
{
|
||||
/**
|
||||
* @param string $id
|
||||
* @param string $label
|
||||
* @param Field[] $fields
|
||||
*/
|
||||
public function __construct(
|
||||
public string $id,
|
||||
public string $label,
|
||||
public array $fields,
|
||||
) {}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php namespace Lucent\Core\Schema;
|
||||
|
||||
class SchemaModule
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
// Constructor logic here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user