ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\User\Profile\Prompt\Prompt Class Reference
+ Collaboration diagram for ILIAS\User\Profile\Prompt\Prompt:

Public Member Functions

 __construct (private readonly int $user_id, private readonly ?\DateTimeImmutable $last_prompt, private readonly ?\DateTimeImmutable $first_login)
 
 getUserId ()
 
 getLastPrompt ()
 
 getFirstLogin ()
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file Prompt.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\User\Profile\Prompt\Prompt::__construct ( private readonly int  $user_id,
private readonly ?\DateTimeImmutable  $last_prompt,
private readonly ?\DateTimeImmutable  $first_login 
)

Definition at line 28 of file Prompt.php.

32  {
33  }

Member Function Documentation

◆ getFirstLogin()

ILIAS\User\Profile\Prompt\Prompt::getFirstLogin ( )

Definition at line 45 of file Prompt.php.

45  : ?\DateTimeImmutable
46  {
47  return $this->first_login;
48  }

◆ getLastPrompt()

ILIAS\User\Profile\Prompt\Prompt::getLastPrompt ( )

Definition at line 40 of file Prompt.php.

40  : ?\DateTimeImmutable
41  {
42  return $this->last_prompt;
43  }

◆ getUserId()

ILIAS\User\Profile\Prompt\Prompt::getUserId ( )

Definition at line 35 of file Prompt.php.

References $user_id.

35  : int
36  {
37  return $this->user_id;
38  }

The documentation for this class was generated from the following file: