ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TeamMember.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Exercise\Team;
22 
24 {
25  protected int $user_id;
26  protected int $assignment_id;
27  protected int $team_id;
28 
29  public function __construct(
30  int $team_id,
31  int $assignment_id,
32  int $user_id
33  ) {
34  $this->team_id = $team_id;
35  $this->assignment_id = $assignment_id;
36  $this->user_id = $user_id;
37  }
38 
39  public function getTeamId(): int
40  {
41  return $this->team_id;
42  }
43 
44  public function getAssignmentId(): int
45  {
46  return $this->assignment_id;
47  }
48 
49  public function getUserId(): int
50  {
51  return $this->user_id;
52  }
53 }
__construct(int $team_id, int $assignment_id, int $user_id)
Definition: TeamMember.php:29