PHP Class eZ\Publish\Core\SignalSlot\SignalDispatcher

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 {@link SlotFactory} to get hold of the actual Slots that listen for a given Signal, which it originally only knows by their identifier.
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
emit ( Signal $signal ) Emits the given $signal.

Method Details

emit() abstract public method

All assigned slots will eventually receive the $signal
abstract public emit ( Signal $signal )
$signal Signal