ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Container\Block;
22
25
30{
31 use GlobalDICDomainServices;
32
35
36 public function __construct(
40 ) {
41 $this->repo_service = $repo_service;
42 $this->data_service = $data_service;
43 $this->initDomainServices($DIC);
44 }
45
46 /*
47 public function access(int $ref_id, int $user_id) : Access\AccessManager
48 {
49 return new Access\AccessManager(
50 $this,
51 $this->access,
52 $ref_id,
53 $user_id
54 );
55 }*/
56
57 public function block(): BlockManager
58 {
59 return new BlockManager(
60 $this->repo_service->blockSession()
61 );
62 }
63}
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26