ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalDomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\COPage;
22 
25 
30 {
32 
35 
36  public function __construct(
38  InternalRepoService $repo_service,
39  InternalDataService $data_service
40  ) {
41  $this->repo_service = $repo_service;
42  $this->data_service = $data_service;
43  $this->initDomainServices($DIC);
44  }
45 
46  public function history(): History\HistoryManager
47  {
48  return new History\HistoryManager(
49  $this->data_service,
50  $this->repo_service,
51  $this
52  );
53  }
54 }
initDomainServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
Repository internal repo service.
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: PageLinker.php:19
Repository internal data service.
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)