1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
CollabUpdateEvent.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Socialnetwork\Collab\Control\Event;
6
7use Bitrix\Main\Event;
8use Bitrix\Socialnetwork\Collab\Collab;
9use Bitrix\Socialnetwork\Collab\Control\Command\CollabUpdateCommand;
10
12{
13 public function __construct(CollabUpdateCommand $command, Collab $collabBefore, Collab $collabAfter)
14 {
15 $parameters = [
16 'command' => $command,
17 'collabBefore' => $collabBefore,
18 'collabAfter' => $collabAfter
19 ];
20
21 parent::__construct('socialnetwork', 'OnCollabUpdate', $parameters);
22 }
23
25 {
26 return $this->parameters['command'];
27 }
28
29 public function getCollabBefore(): Collab
30 {
31 return $this->parameters['collabBefore'];
32 }
33
34 public function getCollabAfter(): Collab
35 {
36 return $this->parameters['collabAfter'];
37 }
38}
Определения event.php:5
$parameters
Определения event.php:8
__construct(CollabUpdateCommand $command, Collab $collabBefore, Collab $collabAfter)
Определения CollabUpdateEvent.php:13