ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ConversationDto.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 {
29  private bool $isGroup = false;
31  private array $subscriberUsrIds = [];
33 
34  public function __construct(private string $id)
35  {
36  $this->lastMessage = new MessageDto('', $this);
37  }
38 
39  public function getId(): string
40  {
41  return $this->id;
42  }
43 
44  public function setId(string $id): void
45  {
46  $this->id = $id;
47  }
48 
49  public function isGroup(): bool
50  {
51  return $this->isGroup;
52  }
53 
54  public function setIsGroup(bool $isGroup): void
55  {
56  $this->isGroup = $isGroup;
57  }
58 
62  public function getSubscriberUsrIds(): array
63  {
65  }
66 
70  public function setSubscriberUsrIds(array $subscriberUsrIds): void
71  {
72  $this->subscriberUsrIds = $subscriberUsrIds;
73  }
74 
75  public function getLastMessage(): MessageDto
76  {
77  return $this->lastMessage;
78  }
79 
80  public function setLastMessage(MessageDto $lastMessage): void
81  {
82  $this->lastMessage = $lastMessage;
83  }
84 }
setLastMessage(MessageDto $lastMessage)
setSubscriberUsrIds(array $subscriberUsrIds)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23