ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.InternalDataService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Awareness;
22 
27 {
28  // protected ...\DataFactory ..._factory;
29 
30  public function __construct()
31  {
32  //$this->..._factory = new ...\DataFactory();
33  }
34 
35  public function counter(
36  int $cnt,
37  int $highlight_cnt
38  ): Counter {
39  return new Counter($cnt, $highlight_cnt);
40  }
41 
42  public function userCollection(): User\Collection
43  {
44  return new User\Collection();
45  }
46 }
Counter DTO class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...