ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
SettingsManager.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Glossary\Settings;
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)