ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
SettingsManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27
29{
30 public function __construct(
31 protected InternalDataService $data,
32 protected InternalRepoService $repo,
33 protected InternalDomainService $domain
34 ) {
35 }
36
37 public function update(Settings $settings): void
38 {
39 $this->repo->settings()->update($settings);
40 }
41
42 public function getByObjId(int $id): ?Settings
43 {
44 return $this->repo->settings()->getById($id);
45 }
46}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(protected InternalDataService $data, protected InternalRepoService $repo, protected InternalDomainService $domain)