Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Kraken
_Unit
Event
EventEmitterTest
createEventEmitter
Kraken\_Unit\Event\EventEmitterTest::createEventEmitter PHP Method
EventEmitterTest Class Documentation
Datei anzeigen
Open project: kraken-php/framework
createEventEmitter()
protected
method
protected
createEventEmitter
(
Kraken\Loop\LoopInterface |
null
$loop
= null ) :
Kraken\Event\EventEmitterInterface
$loop
Kraken\Loop\LoopInterface |
null
return
Kraken\Event\EventEmitterInterface
protected function createEventEmitter($loop = null) { return new EventEmitter($loop); }
EventEmitterTest
createEventEmitter
createLoopMock
emitterProvider
testApiCopyEvent_AttachesOnProxyListenerForEvent
testApiCopyEvents_AttachesOnProxyListenerForEvents
testApiDelayOnce_AttachesProperOnceHandler
testApiDelayOnce_AttachesProperOnceHandler_UsingSeveralHandlers
testApiDelayTimes_AttachesProperOnceHandler
testApiDelayTimes_AttachesProperOnceHandler_UsingSeveralHandlers
testApiDelay_AttachesProperDelayHandler
testApiDelay_AttachesProperDelayHandler_UsingSeveralHandlers
testApiDiscardEvents_DoesNothing_WhenForwarderIsAbsent
testApiDiscardEvents_RemovesEventEmitterForwarder_WhenForwarderIsPresent
testApiEmit_EmitsEvents_ForBehaviourSetToDiscardEvents
testApiEmit_EmitsEvents_ForBehaviourSetToDiscardIncomingEvents
testApiEmit_EmitsEvents_ForBehaviourSetToDiscardOutcomingEvents
testApiEmit_EmitsEvents_ForBehaviourSetToForwardEvents
testApiFindListener_FindsListener
testApiFlushListeners_FlushesListeners
testApiForwardEvents_AddsEventEmitterForwarder
testApiOn_AttachesProperOnHandler
testApiOn_AttachesProperOnHandler_UsingSeveralHandlers
testApiOnce_AttachesProperOnceHandler
testApiOnce_AttachesProperOnceHandler_UsingSeveralHandlers
testApiRemoveListener_DoesNothing_WhenListenerIsAbsent
testApiRemoveListener_RemovesListener_ForOnceListeners
testApiRemoveListener_RemovesListener_ForTimesListeners
testApiRemoveListener_RemovesListener_WhenListenerIsPresent
testApiRemoveListeners_DoesNothing_WhenListenersAreAbsent
testApiRemoveListeners_RemovesListeners_WhenListenersArePresent
testApiSetModeAndGetMode_SetsProperBehaviour
testApiTimes_AttachesProperTimesHandler
testApiTimes_AttachesProperTimesHandler_UsingSeveralHandlers