ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.Counter.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Awareness;
20 
25 class Counter
26 {
27  protected int $highlight_cnt;
28  protected int $cnt;
29 
30  public function __construct(
31  int $cnt,
32  int $highlight_cnt
33  ) {
34  $this->cnt = $cnt;
35  $this->highlight_cnt = $highlight_cnt;
36  }
37 
38  public function getCount(): int
39  {
40  return $this->cnt;
41  }
42 
43  public function getHighlightCount(): int
44  {
45  return $this->highlight_cnt;
46  }
47 }
Counter DTO class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $cnt, int $highlight_cnt)