Documentation

EventDispatcherTest extends AbstractEventDispatcherTest
in package

Table of Contents

Constants

postBar  = 'post.bar'
postFoo  = 'post.foo'
preBar  = 'pre.bar'
preFoo  = 'pre.foo'

Properties

$dispatcher  : EventDispatcher
$listener  : mixed

Methods

testAddListener()  : mixed
testAddSubscriber()  : mixed
testAddSubscriberWithMultipleListeners()  : mixed
testAddSubscriberWithPriorities()  : mixed
testDispatch()  : mixed
testDispatchByPriority()  : mixed
testDispatchForClosure()  : mixed
testEventReceivesTheDispatcherInstanceAsArgument()  : mixed
testGetAllListenersSortsByPriority()  : mixed
testGetListenerPriority()  : mixed
testGetListenersSortsByPriority()  : mixed
testGetListenersWhenAddedCallbackListenerIsRemoved()  : mixed
testHasListenersWhenAddedCallbackListenerIsRemoved()  : mixed
testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled()  : mixed
testInitialState()  : mixed
testLegacyDispatch()  : mixed
testLegacyEventReceivesTheDispatcherInstance()  : mixed
testRemoveListener()  : mixed
testRemoveSubscriber()  : mixed
testRemoveSubscriberWithMultipleListeners()  : mixed
testRemoveSubscriberWithPriorities()  : mixed
testStopEventPropagation()  : mixed
testWorkaroundForPhpBug62976()  : mixed
createEventDispatcher()  : mixed
setUp()  : mixed
tearDown()  : mixed

Constants

Properties

Methods

testEventReceivesTheDispatcherInstanceAsArgument()

public testEventReceivesTheDispatcherInstanceAsArgument() : mixed

testGetListenersWhenAddedCallbackListenerIsRemoved()

public testGetListenersWhenAddedCallbackListenerIsRemoved() : mixed

testHasListenersWhenAddedCallbackListenerIsRemoved()

public testHasListenersWhenAddedCallbackListenerIsRemoved() : mixed

testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled()

public testHasListenersWithoutEventsReturnsFalseAfterHasListenersWithEventHasBeenCalled() : mixed

testLegacyEventReceivesTheDispatcherInstance()

public testLegacyEventReceivesTheDispatcherInstance() : mixed
Tags
group

legacy


        
On this page

Search results