ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
class.SkillProfileUserAssignment.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Skill\Profile;
22 
27 {
28  protected string $type = "user";
29  protected string $name = "";
30  protected int $id = 0;
31 
32  public function __construct(
33  string $name,
34  int $id
35  ) {
36  $this->name = $name;
37  $this->id = $id;
38  }
39 
40  public function getType(): string
41  {
42  return $this->type;
43  }
44 
45  public function getName(): string
46  {
47  return $this->name;
48  }
49 
50  public function getId(): int
51  {
52  return $this->id;
53  }
54 }