ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Mail\Autoresponder\AutoresponderDto Class Reference
+ Collaboration diagram for ILIAS\Mail\Autoresponder\AutoresponderDto:

Public Member Functions

 __construct (private int $sender_id, private int $receiver_id, private DateTimeImmutable $sent_time)
 
 getSenderId ()
 
 withSenderId (int $sender_id)
 
 getReceiverId ()
 
 withReceiverId (int $receiver_id)
 
 getSentTime ()
 
 withSentTime (DateTimeImmutable $sent_time)
 

Detailed Description

Definition at line 25 of file AutoresponderDto.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Mail\Autoresponder\AutoresponderDto::__construct ( private int  $sender_id,
private int  $receiver_id,
private DateTimeImmutable  $sent_time 
)

Definition at line 27 of file AutoresponderDto.php.

28 {
29 }

Member Function Documentation

◆ getReceiverId()

ILIAS\Mail\Autoresponder\AutoresponderDto::getReceiverId ( )

Definition at line 43 of file AutoresponderDto.php.

43 : int
44 {
45 return $this->receiver_id;
46 }

Referenced by ILIAS\Mail\Autoresponder\AutoresponderDatabaseRepository\store().

+ Here is the caller graph for this function:

◆ getSenderId()

ILIAS\Mail\Autoresponder\AutoresponderDto::getSenderId ( )

Definition at line 31 of file AutoresponderDto.php.

31 : int
32 {
33 return $this->sender_id;
34 }

Referenced by ILIAS\Mail\Autoresponder\AutoresponderDatabaseRepository\store().

+ Here is the caller graph for this function:

◆ getSentTime()

ILIAS\Mail\Autoresponder\AutoresponderDto::getSentTime ( )

Definition at line 55 of file AutoresponderDto.php.

55 : DateTimeImmutable
56 {
57 return $this->sent_time;
58 }

Referenced by ILIAS\Mail\Autoresponder\AutoresponderServiceImpl\shouldSendAutoresponder(), and ILIAS\Mail\Autoresponder\AutoresponderDatabaseRepository\store().

+ Here is the caller graph for this function:

◆ withReceiverId()

ILIAS\Mail\Autoresponder\AutoresponderDto::withReceiverId ( int  $receiver_id)

Definition at line 48 of file AutoresponderDto.php.

48 : self
49 {
50 $clone = clone $this;
51 $clone->receiver_id = $receiver_id;
52 return $clone;
53 }

◆ withSenderId()

ILIAS\Mail\Autoresponder\AutoresponderDto::withSenderId ( int  $sender_id)

Definition at line 36 of file AutoresponderDto.php.

36 : self
37 {
38 $clone = clone $this;
39 $clone->sender_id = $sender_id;
40 return $clone;
41 }

◆ withSentTime()

ILIAS\Mail\Autoresponder\AutoresponderDto::withSentTime ( DateTimeImmutable  $sent_time)

Definition at line 60 of file AutoresponderDto.php.

60 : self
61 {
62 $clone = clone $this;
63 $clone->sent_time = $sent_time;
64 return $clone;
65 }

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