OXID eShop CE  6.5.2
OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher:

Protected Member Functions

 callListeners (iterable $listeners, string $eventName, object $event)
 

Private Member Functions

 eventPropagationWasStopped ($event)
 
 skipListenerForCurrentShop ($listener)
 

Detailed Description

Deprecated:
will be removed completely in 7.0. All module services will be "shop aware" (available only in shops where the module is active) by default.

Member Function Documentation

◆ callListeners()

OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher::callListeners ( iterable  $listeners,
string  $eventName,
object  $event 
)
protected

Triggers the listeners of an event.

This method checks if this event should be called within the given shop

Parameters
callable[]$listeners The event listeners
string$eventNameThe name of the event to dispatch
object$eventThe event object to pass to the event handlers/listeners

◆ eventPropagationWasStopped()

OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher::eventPropagationWasStopped (   $event)
private

◆ skipListenerForCurrentShop()

OxidEsales\EshopCommunity\Internal\Framework\Event\ShopAwareEventDispatcher::skipListenerForCurrentShop (   $listener)
private

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