Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
comment.php
1<?php
2
4
6
7final class Comment
8{
9 private SpaceService $spaceService;
10
11 public function __construct()
12 {
13 $this->spaceService = new SpaceService();
14 }
15
16 public function onEventCommentAdd(array $event): void
17 {
18 $this->spaceService->addEvent(
19 'onCalendarEventCommentAdd',
20 $event,
21 );
22 }
23}