| Total Complexity | 1 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | final class FormField extends AbstractField implements |
||
| 19 | ActionAnnotationInterface, |
||
| 20 | PositionAnnotationInterface |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create action name. |
||
| 25 | */ |
||
| 26 | public const ACTION_CREATE = 'create'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Edit action name. |
||
| 30 | */ |
||
| 31 | public const ACTION_EDIT = 'edit'; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Action name. |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | public string $action; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Field options. |
||
| 42 | * |
||
| 43 | * @var array |
||
| 44 | */ |
||
| 45 | public array $options = []; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Field position. |
||
| 49 | * |
||
| 50 | * @var int |
||
| 51 | */ |
||
| 52 | public int $position; |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Get field form settings. |
||
| 56 | * |
||
| 57 | * @return array |
||
| 58 | */ |
||
| 59 | public function getSettings(): array |
||
| 69 |