| 1 | <?php |
||
| 15 | class ConfigUiManager |
||
| 16 | { |
||
| 17 | /** @var UiInterface[] */ |
||
| 18 | protected $uiHandlers = []; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Register an ui handler for configurations. |
||
| 22 | * |
||
| 23 | * @param UiInterface $ui |
||
| 24 | */ |
||
| 25 | public function registerUi(UiInterface $ui) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get proper handler to generate ui for a config element. |
||
| 32 | * |
||
| 33 | * @param ConfigInterface $config |
||
| 34 | * |
||
| 35 | * @return UiInterface|null |
||
| 36 | */ |
||
| 37 | public function getUiHandler(ConfigInterface $config) |
||
| 51 | } |