ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.saveObjectSettingsCommandHandler.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\BookingManager;
20
25{
27 protected \ilObjUseBookDBRepository $use_book_repo;
28
29 public function __construct(
32 ) {
33 $this->cmd = $cmd;
34 $this->use_book_repo = $use_book_repo;
35 }
36
37 public function handle(): void
38 {
39 $settings = $this->cmd->getSettings();
41
42 $repo->updateUsedBookingPools($settings->getObjectId(), $settings->getUsedBookingObjectIds());
43 }
44}
__construct(saveObjectSettingsCommand $cmd, \ilObjUseBookDBRepository $use_book_repo)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
updateUsedBookingPools(int $obj_id, array $book_obj_ids)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...