1 | <?php |
||
22 | class AdminSettingsController extends Controller { |
||
23 | |||
24 | /** @var IL10N */ |
||
25 | private $l10n; |
||
26 | |||
27 | /** @var AppConfigService */ |
||
28 | private $appConfig; |
||
29 | |||
30 | use Errors; |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * |
||
35 | * @param string $appName |
||
36 | * @param IRequest $request |
||
37 | * @param IL10N $l10n |
||
38 | * @param AppConfigService $appConfig |
||
39 | * @param string $userId |
||
40 | */ |
||
41 | public function __construct($appName, IRequest $request, IL10N $l10n, AppConfigService $appConfig, $userId) { |
||
46 | |||
47 | /** |
||
48 | * @NoAdminRequired |
||
49 | * |
||
50 | * @return DataResponse |
||
51 | */ |
||
52 | public function getSettings() { |
||
57 | |||
58 | /** |
||
59 | * Sets the languages that are supported by the docker worker instance. |
||
60 | * |
||
61 | * @param string $languages |
||
62 | * @return DataResponse |
||
63 | */ |
||
64 | public function setSettings($languages) { |
||
74 | } |