ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.saveObjectSettingsCommandHandler.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
6
14{
18 protected $cmd;
19
23 protected $use_book_repo;
24
28 public function __construct(
31 ) {
32 $this->cmd = $cmd;
33 $this->use_book_repo = $use_book_repo;
34 }
35
36 public function handle()
37 {
38 $settings = $this->cmd->getSettings();
40
41 $repo->updateUsedBookingPools($settings->getObjectId(), $settings->getUsedBookingObjectIds());
42 }
43}
An exception for terminatinating execution or to throw for unit testing.
__construct(saveObjectSettingsCommand $cmd, \ilObjUseBookDBRepository $use_book_repo)
Constructor.
This repo stores infos on repository objects that are using booking managers as a service (resource m...