eZ/Publish/Core/Base/Container/ApiLoader/SignalSlot/SignalDispatcherFactory.php 1 location
|
@@ 70-74 (lines=5) @@
|
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
foreach ($searchEngineSignalSlots as $signalIdentifier => $slots) { |
| 70 |
|
if ($signalIdentifier[0] === '\\') { |
| 71 |
|
$signalIdentifier = substr($signalIdentifier, 1); |
| 72 |
|
} elseif ($signalIdentifier !== '*') { |
| 73 |
|
$signalIdentifier = static::RELATIVE_SIGNAL_NAMESPACE . "\\$signalIdentifier"; |
| 74 |
|
} |
| 75 |
|
$this->signalSlotMap[$signalIdentifier] = $slots; |
| 76 |
|
} |
| 77 |
|
} |
eZ/Publish/Core/SignalSlot/SignalDispatcher/DefaultSignalDispatcher.php 1 location
|
@@ 90-94 (lines=5) @@
|
| 87 |
|
*/ |
| 88 |
|
public function attach($signalIdentifier, Slot $slot) |
| 89 |
|
{ |
| 90 |
|
if ($signalIdentifier[0] === '\\') { |
| 91 |
|
$signalIdentifier = substr($signalIdentifier, 1); |
| 92 |
|
} elseif ($signalIdentifier !== '*') { |
| 93 |
|
$signalIdentifier = static::RELATIVE_SIGNAL_NAMESPACE . "\\$signalIdentifier"; |
| 94 |
|
} |
| 95 |
|
|
| 96 |
|
$this->signalSlotMap[$signalIdentifier][] = $slot; |
| 97 |
|
} |