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\Container;
22 
23 use ILIAS\DI;
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 content(): Content\DomainService
47  {
48  return new Content\DomainService(
49  $this->repo_service,
50  $this->data_service,
51  $this
52  );
53  }
54 
55  /*
56  public function access(int $ref_id, int $user_id) : Access\AccessManager
57  {
58  return new Access\AccessManager(
59  $this,
60  $this->access,
61  $ref_id,
62  $user_id
63  );
64  }*/
65 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(DI\Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initDomainServices(\ILIAS\DI\Container $DIC)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
Repository internal data service.
global $DIC
Definition: feed.php:28
Class HTTPServicesTest.
Repository internal repo service.