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\News;
22
27
32{
33 use GlobalDICDomainServices;
34
37
38 public function __construct(
42 ) {
43 $this->repo_service = $repo_service;
44 $this->data_service = $data_service;
45 $this->initDomainServices($DIC);
46 }
47
49 {
50 return new DashboardNewsManager(
51 $this->data_service,
52 $this->repo_service,
53 $this
54 );
55 }
56
57 public function timeline(): TimelineManager
58 {
59 return new TimelineManager(
60 $this->data_service,
61 $this->repo_service,
62 $this
63 );
64 }
65}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Repository internal data service.
__construct(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)
global $DIC
Definition: shib_login.php:26