Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/calendar/lib/ical/mailinvitation/ |
Upload File : |
<?php namespace Bitrix\Calendar\ICal\MailInvitation; use Bitrix\Calendar\SerializeObject; class MailUser { use SerializeObject; protected int $id; protected string $email; protected ?string $lastName; protected ?string $name; public static function createInstance( int $id, string $email, string $name = null, string $lastName = null ): static { return new static($id, $email, $name, $lastName); } public function __construct( int $id, string $email, string $name = null, string $lastName = null ) { $this->id = $id; $this->email = $email; $this->name = $name; $this->lastName = $lastName; } public function getId(): int { return $this->id; } public function getEmail(): string { return $this->email; } public function setEmail(string $email): void { $this->email = $email; } public function getLastName(): ?string { return $this->lastName; } public function setLastName(?string $lastName): void { $this->lastName = $lastName; } public function getName(): ?string { return $this->name; } public function setName(?string $name): void { $this->name = $name; } }