Finish cleanup of available field generation
This commit is contained in:
@ -11,22 +11,25 @@ declare(strict_types = 1);
|
||||
*/
|
||||
final class FieldEntry {
|
||||
|
||||
public bool $required;
|
||||
public array $allowedValues;
|
||||
public array $dependsOn;
|
||||
public string $remark;
|
||||
public string $name_human_readable;
|
||||
public string $explica;
|
||||
public readonly bool $required;
|
||||
public readonly string $remark;
|
||||
public readonly string $name_human_readable;
|
||||
public readonly string $explica;
|
||||
|
||||
/** @var array<string> */
|
||||
public readonly array $allowedValues;
|
||||
/** @var array<string> */
|
||||
public readonly array $dependsOn;
|
||||
|
||||
/**
|
||||
* Function for constructing a new FieldEntry Object.
|
||||
*
|
||||
* @param boolean $required True if the field is required.
|
||||
* @param array $allowedValues Array of allowed values.
|
||||
* @param array $dependsOn Array of fields the entry depends on.
|
||||
* @param string $remark String variable.
|
||||
* @param string $name_human_readable Human readable translation.
|
||||
* @param string $explica String variable
|
||||
* @param boolean $required True if the field is required.
|
||||
* @param array<string> $allowedValues Array of allowed values.
|
||||
* @param array<string> $dependsOn Array of fields the entry depends on.
|
||||
* @param string $remark Remark.
|
||||
* @param string $name_human_readable Human readable translation.
|
||||
* @param string $explica Explanation.
|
||||
*/
|
||||
public function __construct(
|
||||
bool $required, array $allowedValues,
|
||||
|
Reference in New Issue
Block a user