ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Exercise\InternalDomainService Class Reference

Exercise domain service (business logic) More...

+ Collaboration diagram for ILIAS\Exercise\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalDataService $data, InternalRepoService $repo)
 
 refinery ()
 
 assignment ()
 

Protected Attributes

InternalDataService $data
 
InternalRepoService $repo
 
Assignment DomainService $assignment_service
 

Detailed Description

Exercise domain service (business logic)

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 30 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\InternalDomainService::__construct ( Container  $DIC,
InternalDataService  $data,
InternalRepoService  $repo 
)

Definition at line 37 of file class.InternalDomainService.php.

References ILIAS\Exercise\InternalDomainService\$data, ILIAS\Exercise\InternalDomainService\$repo, and ILIAS\Repository\initDomainServices().

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  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalDomainService::assignment ( )

Definition at line 57 of file class.InternalDomainService.php.

References ILIAS\Exercise\InternalDomainService\$assignment_service.

57  : Assignment\DomainService
58  {
60  }

◆ refinery()

ILIAS\Exercise\InternalDomainService::refinery ( )

Definition at line 51 of file class.InternalDomainService.php.

References $DIC.

52  {
53  global $DIC;
54  return $DIC->refinery();
55  }
global $DIC
Definition: feed.php:28
Builds data types.
Definition: Factory.php:20

Field Documentation

◆ $assignment_service

Assignment DomainService ILIAS\Exercise\InternalDomainService::$assignment_service
protected

◆ $data

InternalDataService ILIAS\Exercise\InternalDomainService::$data
protected

◆ $repo

InternalRepoService ILIAS\Exercise\InternalDomainService::$repo
protected

The documentation for this class was generated from the following file: