ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalDataService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Survey;
22
28{
31
32 public function __construct()
33 {
34 $this->code_factory = new Code\DataFactory();
35 $this->execution_factory = new Execution\DataFactory();
36 }
37
38 public function code(string $code): Code\Code
39 {
40 return $this->code_factory->code($code);
41 }
42
43 public function run(int $survey_id, int $user_id): Execution\Run
44 {
45 return $this->execution_factory->run($survey_id, $user_id);
46 }
47
48 public function settings(): Settings\SettingsFactory
49 {
50 return new Settings\SettingsFactory();
51 }
52}
Code data class.
Definition: class.Run.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...