Class

eZ\Bundle\EzPublishCoreBundle\ApiLoader\SignalSlot\SignalDispatcherFactory

class SignalDispatcherFactory extends SignalDispatcherFactory

Constants

RELATIVE_SIGNAL_NAMESPACE

Relative namespace for internal signals.

Methods

__construct(string $signalDispatcherClass, string $repositoryAlias, array $repositoriesSettings)

SignalDispatcherFactory constructor.

string getSearchEngineAlias()

Get current search engine alias.

addSlotsForSearchEngine(string $searchEngineAlias, array $searchEngineSignalSlots)

Bulk add all signal slots if needed for a search engine.

from SignalDispatcherFactory
SignalDispatcher buildSignalDispatcher()

Build SignalDispatcher for SignalSlots.

from SignalDispatcherFactory

Details

at line 32
public __construct(string $signalDispatcherClass, string $repositoryAlias, array $repositoriesSettings)

SignalDispatcherFactory constructor.

Parameters

string $signalDispatcherClass
string $repositoryAlias
array $repositoriesSettings

at line 45
public string getSearchEngineAlias()

Get current search engine alias.

Return Value

string

public addSlotsForSearchEngine(string $searchEngineAlias, array $searchEngineSignalSlots)

Bulk add all signal slots if needed for a search engine.

Parameters

string $searchEngineAlias
array $searchEngineSignalSlots [signal => array(slot1, slot2, ...)]

public SignalDispatcher buildSignalDispatcher()

Build SignalDispatcher for SignalSlots.

Return Value

SignalDispatcher