| 1 | <?php |
||
| 7 | class Select implements InputInterface { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $key; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var Group |
||
| 16 | */ |
||
| 17 | protected $options; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $key Name and ID of the form-element |
||
| 21 | * @param array $arr Options as associative array |
||
| 22 | * @param string|null $selected Values which should be selected |
||
| 23 | */ |
||
| 24 | public function __construct( string $key, array $arr, $selected = null ) { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function render(): string { |
||
| 39 | |||
| 40 | } |