ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.InternalDomainService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\MediaCast;
22 
26 
31 {
33 
36 
37  public function __construct(
39  InternalRepoService $repo_service,
40  InternalDataService $data_service
41  ) {
42  $this->repo_service = $repo_service;
43  $this->data_service = $data_service;
44  $this->initDomainServices($DIC);
45  }
46 
47  public function mediaCast(\ilObjMediaCast $media_cast): MediaCastManager
48  {
49  return new MediaCastManager($media_cast);
50  }
51 
53  {
54  return new LearningProgressManager($cast);
55  }
56 }
initDomainServices(\ILIAS\DI\Container $DIC)
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
global $DIC
Definition: feed.php:28
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...