Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

UnAssignUserFromUserGroup.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Publish\Core\Search\Common\Slot;
8
9 use eZ\Publish\Core\SignalSlot\Signal;
10 use eZ\Publish\Core\Search\Common\Slot;
11
15 final class UnAssignUserFromUserGroup extends Slot
16 {
17 public function receive(Signal $signal): void
18 {
19 if (!$signal instanceof Signal\UserService\UnAssignUserFromUserGroupSignal) {
20 return;
21 }
22
23 $content = $this->persistenceHandler->contentHandler()->load($signal->userId);
24 $this->searchHandler->indexContent($content);
25 }
26 }
eZ\Publish\Core\Search\Common\Slot\UnAssignUserFromUserGroup
A Search Engine slot handling UnAssignUserFromUserGroup.
Definition: UnAssignUserFromUserGroup.php:16
eZ\Publish\Core\Search\Common\Slot\UnAssignUserFromUserGroup\receive
receive(Signal $signal)
Receive the given $signal and react on it.
Definition: UnAssignUserFromUserGroup.php:17
eZ\Publish\Core\Search\Common\Slot
General slot implementation for Search Engines.
Definition: Search/Common/Slot.php:18
eZ\Publish\Core\SignalSlot\Signal
Base class for Signals.
Definition: Signal.php:18
eZ\Publish\Core\Search\Common\Slot
Definition: AbstractSubtree.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.