ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PublicInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\User;
22
25
27{
28 public function __construct(
29 private readonly \ilObjUser $logged_in_user
30 ) {
31 }
32 public function getProfile(): Profile
33 {
34 return LocalDIC::dic()[Profile::class];
35 }
36
37 public function getSettings(): Settings
38 {
39 return LocalDIC::dic()[Settings::class];
40 }
41
42 public function getLoggedInUser(): \ilObjUser
43 {
44 return $this->logged_in_user;
45 }
46}
__construct(private readonly \ilObjUser $logged_in_user)
User class.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: UserEvent.php:21