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

Public Member Functions | List of all members
eZ\Publish\Core\SignalSlot\SignalDispatcher Class Reference

Dispatches Signals to their assigned Slots. More...

Inheritance diagram for eZ\Publish\Core\SignalSlot\SignalDispatcher:

## Public Member Functions
| emit (Signal $signal)
| Emits the given $signal. More...

## Detailed Description

Dispatches Signals to their assigned Slots.

An instance of this class is required by each object that needs to send Signals. It is recommended, that a SignalDispatcher works together with a SlotFactory to get hold of the actual Slots that listen for a given Signal, which it originally only knows by their identifier.

Definition at line 19 of file SignalDispatcher.php.

## Member Function Documentation

## ◆ emit()

eZ\Publish\Core\SignalSlot\SignalDispatcher::emit | ( | Signal | $signal | ) |
| abstract

Emits the given $signal.

All assigned slots will eventually receive the $signal

Parameters

  Signal | $signal |

Reimplemented in eZ\Publish\Core\SignalSlot\SignalDispatcher\SignalDispatcherTransactionWrapper, and eZ\Publish\Core\SignalSlot\SignalDispatcher\DefaultSignalDispatcher.

The documentation for this class was generated from the following file:

- SignalDispatcher.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.