public function addSlotsForSearchEngine($searchEngineAlias, array $searchEngineSignalSlots)
    {
        if ($this->getSearchEngineAlias() !== $searchEngineAlias) {
            return;
        }

        foreach ($searchEngineSignalSlots as $signalIdentifier => $slots) {
            if ($signalIdentifier[0] === '\\') {
                $signalIdentifier = substr($signalIdentifier, 1);
            } elseif ($signalIdentifier !== '*') {
                $signalIdentifier = static::RELATIVE_SIGNAL_NAMESPACE . "\\$signalIdentifier";
            }
            $this->signalSlotMap[$signalIdentifier] = $slots;
        }
    }
public function addSlotsForSearchEngine($searchEngineAlias, array $searchEngineSignalSlots)
    {
        if ($this->getSearchEngineAlias() !== $searchEngineAlias) {
            return;
        }

        foreach ($searchEngineSignalSlots as $signalIdentifier => $slots) {
            if ($signalIdentifier[0] === '\\') {
                $signalIdentifier = substr($signalIdentifier, 1);
            } elseif ($signalIdentifier !== '*') {
                $signalIdentifier = static::RELATIVE_SIGNAL_NAMESPACE . "\\$signalIdentifier";
            }
            $this->signalSlotMap[$signalIdentifier] = $slots;
        }
    }
public function addSlotsForSearchEngine ( $ searchEngineAlias , array $ searchEngineSignalSlots ) { if ( $ this -> getSearchEngineAlias ( ) !== $ searchEngineAlias ) { return ; } foreach ( $ searchEngineSignalSlots as $ signalIdentifier => $ slots ) { if ( $ signalIdentifier [ 0 ] === '\\' ) { $ signalIdentifier = substr ( $ signalIdentifier , 1 ) ; } elseif ( $ signalIdentifier !== '*' ) { $ signalIdentifier = static :: RELATIVE_SIGNAL_NAMESPACE . "\\$signalIdentifier" ; } $ this -> signalSlotMap [ $ signalIdentifier ] = $ slots ; } }
Bulk add all signal slots if needed for a search engine.

@param string $searchEngineAlias
@param array $searchEngineSignalSlots [signal => array(slot1, slot2, ...)]
Bulk add all signal slots if needed for a search engine .