| 1 | <?php |
||
| 20 | class InputFieldConfig extends AbstractConfig |
||
| 21 | { |
||
| 22 | |||
| 23 | 2 | public function getRules() |
|
| 24 | { |
||
| 25 | return [ |
||
| 26 | 2 | 'name' => ['type' => TypeService::TYPE_STRING, 'final' => true], |
|
| 27 | 2 | 'type' => ['type' => TypeService::TYPE_ANY_INPUT, 'final' => true], |
|
| 28 | 2 | 'defaultValue' => ['type' => TypeService::TYPE_ANY], |
|
| 29 | 2 | 'description' => ['type' => TypeService::TYPE_STRING], |
|
| 30 | 2 | 'isDeprecated' => ['type' => TypeService::TYPE_BOOLEAN], |
|
| 31 | 2 | 'deprecationReason' => ['type' => TypeService::TYPE_STRING], |
|
| 32 | 2 | ]; |
|
| 33 | } |
||
| 34 | |||
| 35 | 10 | public function getDefaultValue() |
|
| 39 | |||
| 40 | } |
||
| 41 |