SchulIT /
idp
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Response; |
||
| 4 | |||
| 5 | class ActiveDirectoryUser { |
||
| 6 | |||
| 7 | public readonly string $username; |
||
| 8 | public readonly string $firstname; |
||
| 9 | public readonly string $lastname; |
||
| 10 | public readonly ?string $grade; |
||
| 11 | public readonly string $guid; |
||
| 12 | |||
| 13 | public function __construct(string $username, string $firstname, string $lastname, ?string $grade, string $guid) { |
||
| 14 | $this->username = $username; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 15 | $this->firstname = $firstname; |
||
|
0 ignored issues
–
show
|
|||
| 16 | $this->lastname = $lastname; |
||
|
0 ignored issues
–
show
|
|||
| 17 | $this->grade = $grade; |
||
|
0 ignored issues
–
show
|
|||
| 18 | $this->guid = $guid; |
||
|
0 ignored issues
–
show
|
|||
| 19 | } |
||
| 20 | } |