This commit is contained in:
2022-07-01 15:05:13 +02:00
parent 93c5e83454
commit f513749780
7 changed files with 67 additions and 67 deletions

View File

@@ -16,6 +16,8 @@ use Chill\MainBundle\Entity\User;
class CalendarRemovedMessage
{
private ?int $associatedCalendarRangeId = null;
private ?int $byUserId = null;
private int $calendarUserId;
@@ -24,8 +26,6 @@ class CalendarRemovedMessage
private string $remoteId;
private ?int $associatedCalendarRangeId = null;
public function __construct(Calendar $calendar, ?User $byUser)
{
$this->remoteId = $calendar->getRemoteId();
@@ -41,6 +41,11 @@ class CalendarRemovedMessage
}
}
public function getAssociatedCalendarRangeId(): ?int
{
return $this->associatedCalendarRangeId;
}
public function getByUserId(): ?int
{
return $this->byUserId;
@@ -60,14 +65,4 @@ class CalendarRemovedMessage
{
return $this->remoteId;
}
/**
* @return int|null
*/
public function getAssociatedCalendarRangeId(): ?int
{
return $this->associatedCalendarRangeId;
}
}