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/ilovecveti.ru/bitrix/modules/calendar/lib/internals/counter/event/ |
Upload File : |
<?php namespace Bitrix\Calendar\Internals\Counter\Event; class Event { private int $id = 0; private string $hitId; private string $type; private array $data = []; /** * CounterEvent constructor. * @param string $type * @param array $data */ public function __construct(string $hitId, string $type) { $this->hitId = $hitId; $this->type = $type; } /** * @param int $id * @return $this */ public function setId(int $id): self { $this->id = $id; return $this; } /** * @param array $data * @return $this */ public function setData(array $data): self { $this->data = $data; return $this; } /** * @return string */ public function getType(): string { return $this->type; } /** * @return int */ public function getId(): int { return $this->id; } /** * @return string */ public function getHitId(): string { return $this->hitId; } /** * @return array */ public function getData(): array { return $this->data; } }