ILIAS  release_8 Revision v8.24
class.DomainService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
22
26
31{
35
38
39 public function __construct(
43 ) {
44 $this->repo_service = $repo_service;
45 $this->data_service = $data_service;
46 $this->domain_service = $domain_service;
47 $this->item_repo = $this->repo_service->content()->item();
48 $this->view_repo = $this->repo_service->content()->view();
49 }
50
52 {
53 return new ItemManager(
55 $this->item_repo
56 );
57 }
58
59 public function view(): ViewManager
60 {
61 return new ViewManager(
62 $this->view_repo
63 );
64 }
65
66 /*
67 public function access(int $ref_id, int $user_id) : Access\AccessManager
68 {
69 return new Access\AccessManager(
70 $this,
71 $this->access,
72 $ref_id,
73 $user_id
74 );
75 }*/
76}
__construct(InternalRepoService $repo_service, InternalDataService $data_service, InternalDomainService $domain_service)
Repository internal data service.
Repository internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$container
@noRector
Definition: wac.php:14