ILIAS  release_8 Revision v8.24
class.InternalDomainService.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
21namespace ILIAS\Exercise;
22
25
31{
36
37 public function __construct(
41 ) {
42 $this->data = $data;
43 $this->repo = $repo;
44 $this->assignment_service = new Assignment\DomainService(
45 $this,
46 $repo
47 );
48 $this->initDomainServices($DIC);
49 }
50
51 public function refinery(): \ILIAS\Refinery\Factory
52 {
53 global $DIC;
54 return $DIC->refinery();
55 }
56
57 public function assignment(): Assignment\DomainService
58 {
60 }
61}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
Builds data types.
Definition: Factory.php:21
Internal factory for data objects.
Exercise domain service (business logic)
__construct(Container $DIC, InternalDataService $data, InternalRepoService $repo)
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
initDomainServices(\ILIAS\DI\Container $DIC)
Class ChatMainBarProvider \MainMenu\Provider.