added new FieldEntry class
This commit is contained in:
parent
3726df245e
commit
8d432eda61
21
classes/FieldEntry.php
Normal file
21
classes/FieldEntry.php
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?PHP
|
||||||
|
/**
|
||||||
|
* Contains a helper class for a field entry.
|
||||||
|
*
|
||||||
|
* @author Nathan Eikermann <nathan@museum-digital.de>
|
||||||
|
*/
|
||||||
|
declare(strict_types = 1);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class holding the information for a field entry.
|
||||||
|
*/
|
||||||
|
class FieldEntry
|
||||||
|
{
|
||||||
|
public boolean $required;
|
||||||
|
public array $allowedValues;
|
||||||
|
public array $dependsOn;
|
||||||
|
public string $remark;
|
||||||
|
public string $name_human_readable;
|
||||||
|
public string $explica;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user